WalletPSBTReady show the summary of the transaction, signing with the seed respect the keypath of the wallet settings

This commit is contained in:
nicolas.dorier
2019-05-15 15:00:09 +09:00
parent 210d680b21
commit a68915d6cf
9 changed files with 232 additions and 101 deletions

View File

@@ -8,6 +8,20 @@ namespace BTCPayServer.Models.WalletViewModels
public class WalletPSBTReadyViewModel
{
public string PSBT { get; set; }
public string SigningKey { get; set; }
public string SigningKeyPath { get; set; }
public List<string> Errors { get; set; }
public class DestinationViewModel
{
public bool Positive { get; set; }
public string Destination { get; set; }
public string Balance { get; set; }
}
public string BalanceChange { get; set; }
public bool Positive { get; set; }
public List<DestinationViewModel> Destinations { get; set; } = new List<DestinationViewModel>();
public string Fee { get; set; }
}
}