@using Microsoft.AspNetCore.Mvc.ModelBinding @using BTCPayServer.Controllers @using BTCPayServer.Services @using BTCPayServer.Components.LabelManager @using BTCPayServer.Components.UIExtensionPoint @inject BTCPayServer.Security.ContentSecurityPolicies Csp @model WalletSendModel @{ var walletId = Context.GetRouteValue("walletId").ToString(); Model.ReturnUrl ??= Url.WalletTransactions(walletId); Layout = "_LayoutWizard"; ViewData.SetActivePage(WalletsNavPages.Send, StringLocalizer["Send {0}", Model.CryptoCode], walletId); Csp.Add("worker-src", "blob:"); Csp.UnsafeEval(); } @section Navbar { } @section PageHeadContent { } @section PageFootContent { }

@ViewData["Title"]

@if (!ViewContext.ModelState.IsValid) {
    @foreach (var errors in ViewData.ModelState.Where(pair => pair.Key == string.Empty && pair.Value.ValidationState == ModelValidationState.Invalid)) { foreach (var error in errors.Value.Errors) {
  • @error.ErrorMessage
  • } }
}
@for (var index = 0; index < Model.Outputs.Count; index++) {
@if (Model.Outputs.Count > 1) { }
Your available balance is @Model.CryptoCode. @if (Model.ImmatureBalance > 0) {
@StringLocalizer["Note: {0} are still immature and require additional confirmations.", $"{Model.ImmatureBalance} {Model.CryptoCode}"]
}
}
Use PSBT
@if (Model.InputSelection) {
}
@if (Model.RecommendedSatoshiPerByte.Any()) {
Confirm in the next …
@for (var index = 0; index < Model.RecommendedSatoshiPerByte.Count; index++) { var feeRateOption = Model.RecommendedSatoshiPerByte[index]; }
}
@if (!string.IsNullOrEmpty(Model.PayJoinBIP21)) {
}
@Html.HiddenFor(a=>a.IsMultiSigOnServer) @if (Model.IsMultiSigOnServer) { } else { }