Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fee rate info missing #248

Merged
merged 5 commits into from
Jul 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion src/Data/Models/ChannelOperationRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
using System.ComponentModel.DataAnnotations.Schema;
using FundsManager.Helpers;
using NBitcoin;
using System.Text.Json;
using FundsManager.Services;

namespace FundsManager.Data.Models
{
Expand Down Expand Up @@ -106,6 +106,14 @@ public decimal Amount
/// </summary>
public string? ClosingReason { get; set; }

/// <summary>
/// Recommended fee type selected by the user to be applied at the moment of the operation
/// </summary>
public MempoolRecommendedFeesTypes MempoolRecommendedFeesTypes { get; set; }

/// <summary>
/// Fee rate in sat/vbyte to be applied if the user selects a custom fee type
/// </summary>
public decimal? FeeRate { get; set; }

[Column(TypeName = "jsonb")]
Expand Down
Loading
Loading