Mosaic - can see in transactions but not in account info

Hi. I created test mosaic “g4s8:coin” and trying to send it from one account to another via NIS rest API. The server ansered me with success response:
{“innerTransactionHash”:{},“code”:1,“type”:1,“message”:“SUCCESS”,“transactionHash”:{“data”:“0197b913cc8f66473fad518f4de287fd529d41ec4a61a281ced1791e062bccfc”}}

Then I can see this transaction in nano-wallet confirmed tab, but this mosaic did not appeared in my account info: http://192.3.61.243:7890/account/mosaic/owned?address=TBNJJZ2IAVMCGQ6BWB53XLJ4JVVKSK2LRAGS2IYY

When I send same mosaic via nano-wallet I can see it in this list, but via rest API can’t. Also when I send some xem via rest API I can see my balance then.

Can someone please help me here?
I’m sending from TCDWVBEV6VXBTBAK2VNIGHOS3344GHPTAU5OKERW to TBNJJZ2IAVMCGQ6BWB53XLJ4JVVKSK2LRAGS2IYY ; here one of transaction hash: 0197b913cc8f66473fad518f4de287fd529d41ec4a61a281ced1791e062bccfc

I’ve found a workaround: if I set amount field to non-zero value, transaction precessed successfully, but this value does not affect anything. Also it’s not important what number it will be, it can be 1 or 10000, doesn’t matter.

Documentation https://nemproject.github.io/#transferTransaction says that this field is:

The amount of micro NEM that is transferred from sender to recipient.

But no XEM was transfered to recipient, only mosaics.

When you sent mosaic transfer amount is working as multiplier. So if you sent amount = 0 and mosaic mymosaic:1000 it means you send 0 * 1000 = 0 mymosaic.
So if you want send same value as in mosaic table you should put 1 in amount field.

1 Like