So i sent some amount of my mosaic over NEM NIS Api(testnet), and I see the transaction in my wallet, but the amount is not increasing/decreasing from both of wallets. Indeed when sending from nanowallet everything is fine.
(upper transaction is sent with nem nis api, bottom with nanowallet)
/transaction/prepare-announce (post)
let transObj = {
"timeStamp": createNEMTimeStamp(),
"amount": 0,
"fee": 1100000,
"recipient": transInfo.recipient,
"type": 257,
"deadline": createNEMTimeStamp() + 6000,
"message":
{},
"version": -1744830462,//1744830466, //ostaviti ovako za mainnet
"signer": transInfo.publicKey,
"mosaics":[
{
"mosaicId":{
"namespaceId": 'mudo',
"name": 'usd',
},
"quantity": parseFloat(transInfo.amount)
}
]
}
let body = {
transaction: transObj,
privateKey:transInfo.privateKey
}