Hi.
I use https://github.com/NemProject/nem1-sdk-csharp library
Transaction #1 (created in Nano wallet),
to: TBY6F5-WE6QUG-RAFV7K-DUYZFJ-OJAHLP-2UZBDJ-OY6L
hash: d9c82f65028a0bb6112966d4ceee9dbd211c9fce248629aa336bba6c5a193614
There are 2 fields: amount and fee.
Transaction #2 (created using .net library):
from: TBY6F5-WE6QUG-RAFV7K-DUYZFJ-OJAHLP-2UZBDJ-OY6L
to: TBDF4L-NGW7RN-BWRMJ4-VNXCXO-SMJZ2E-F2ESQ5-KHUQ
hash: cb618492947128ae0c344a687724b50fa716ce2986062709141d99947180e40e
There is only 1 field: fee, and instead of amount I see mosaic: nem:xem with correct amount.
see screenshot https://www.screencast.com/t/NyhIN8ANWxi
To create transaction #2 I use code:
var mosaic = new Xem((ulong)(amount * 1000000));
var transaction = TransferTransaction.Create(
account.Address.NetworkByte,
Deadline.CreateHours(24),
(ulong)(fee * 1000000m),
Address.CreateFromEncoded(destAddress),
new List<Mosaic> { mosaic }, null)
.SignWith(account.KeyPair);
var responseTask = new TransactionHttp(Settings.Host).Announce(transaction);
Is there any other method to create TransferTransaction with fee and amount and without mosaic? Have I done something wrong?
Thanks.