Mosaics transfer - balance difference of account between two block heights don't match

Hi,

From the below transaction, the difference between the sender’s account balance at ‘3139619’ ‘3139620’ block heights should be 734313480(amount) + 0.05(fee) = 734313480.05 if no other transaction exists. but it is 734363480 (check here)

Block Height: 3139620
Type: mosaic transfer
Sender: NCRV7RFSREMYKRE76EXKGP3ODCNW35CIFNPXAWT2
Recipient: NC6KQAFPIWN52XC75R3VZGIQXUD2T7FFRENIRVFX

Transaction object:

{
“timeStamp”: 189998634,
"amount": 1000000,
“signature”: “76c96235f79c1adf1344b1ad54f9f214ff33a8e7c9d40599b77acc84b0f811d7a75c2744068685e0876e551e4bccc67f37c4434815e493d756c1d6e3231fbc05”,
“fee”: 50000,
“recipient”: “NC6KQAFPIWN52XC75R3VZGIQXUD2T7FFRENIRVFX”,
“mosaics”: [
{
"quantity": 734313480,
“mosaicId”: {
“namespaceId”: “nem”,
“name”: “xem”
}
}
],
“type”: 257,
“deadline”: 190085034,
“message”: {},
“version”: 1744830466,
“signer”: “0cfd906c5cde2a7ba3088906b5bf93e8476299f310d0f1810d0b8d3e4aed246d”
}

why this? can anyone please help?

Block 3139619 it has 735.823480 XEM
Block 3139620 it has 1.46 XEM

735.823480 XEM - 0.05 XEM (fee) - 734.313480 XEM (transfered) = 1.46 XEM

nem:xem has divisibility 6. Api values are atomic.

1 Like

Thanks !!

Here, this is mosaics transfer but still, mosaics quantity is deducted from the balance.
So, this is because “namespaceId”: “nem”, “name”: “xem” here that’s why?
or any other way to find mosaics quantity is nothing but XEMs?

Yes. XEM can be transfered as nem:xem mosaic (v2 transfer) or as amount and mosaic array empty (v1 transfer)

Got it. Thank You!

Hi,

Here also we’ve to multiply quantity to amount?
Suppose the amount is 2000000 then 2*734313480 = 1468626960 = 1468.626960 XEM ?

if amount 2000000 and quantity= 734313480 and mosaic nem:xem

then
2/1000000 * 734313480/1000000

2/1000000 ?? Or 2000000/1000000 ??

The below one is not correct?
2000000/1000000 * 734313480/1000000 = 2 * 734.31348 = 1468.62696

Yeah, sorry 2000000/1000000

Thanks!