I implemented mosaic transfer program but I got FAILURE_INSUFFICIENT_FEE.
The supply of the mosaic I want to transfer was changed from 10,000 to 15,000 but I calculated the transfer fee using the initial supply(10,000).
In NEM NIS API Documentation, mosaic transfer fee seems to be calculated with initial supply of the mosaic.
https://nemproject.github.io/#transaction-fees
But in NemWallet, mosaic transfer fee is calculated using the current total supply of the mosaic.
-
Which is correct? Should I calculate mosaic transfer fee using the initial supply or the currenty total supply?
-
If I should use the current total supply, can I use “/mosaic/supply” API used in NemWallet ? The API is not listed in NEM NIS API Documentation.