We want to perform extrinsic xcmPallet.reserveTransferAssets from Kusama to our Mangata parachain.
const transfer = await api.tx.xcmPallet.reserveTransferAssets(...someParas); const info = await api.tx.xcmPallet.reserveTransferAssets(...someParas).paymentInfo(sender);
We know how to find the Origin Chain Transfer Fee because info is RuntimeDispatchInfo and there is a partialFee property which is nice.
Our main concern as we saw on Karura or Bifrost that they have Destination Chain Transfer Fee which we are not sure how to get this number. What is the way to obtain this fee before the user sign the extrinsic ?
Another question is related to successful transaction: we can see in our parachain the event parachainSystem.DownwardMessagesReceived or dmpQueue.ExecutedDownward. So in order to know whether this xcm transaction is complete is only to subscribe to these events ?