@using BTCPayServer.Blazor.VaultBridge
@using BTCPayServer.Hosting
@model WalletSendVaultModel
@{
var walletId = Context.GetRouteValue("walletId")?.ToString() ?? "";
Model.ReturnUrl ??= Url.WalletTransactions(walletId);
Layout = "_LayoutWizard";
ViewData.SetTitle(StringLocalizer["Sign the transaction"]);
this.ViewData.SetBlazorAllowed(true);
// Calculate maximum PSBT size accounting for SignalR message overhead
var blazorMax = Startup.BlazorMaximumReceiveMessageSize;
var otherDataSize = 500; // Estimated overhead for other SignalR message data
decimal waste = 1.35m; // Base64 re-encoding overhead factor (approximately 35%)
long maxPSBTSize = (long)((blazorMax - otherDataSize) / waste);
}
@section Navbar {
Using BTCPay Server Vault@ViewData.GetTitle()