btcpayserver/BTCPayServer/Payments/Lightning/LightningLikePaymentData.cs

20 lines
540 B
C#
Raw Normal View History

using BTCPayServer.Client.Models;
using BTCPayServer.Lightning;
using BTCPayServer.Lightning.JsonConverters;
using BTCPayServer.Services.Invoices;
using NBitcoin;
using Newtonsoft.Json;
namespace BTCPayServer.Payments.Lightning
{
2024-10-16 16:25:16 +09:00
public class LightningLikePaymentData
{
2023-04-10 11:07:03 +09:00
[JsonConverter(typeof(NBitcoin.JsonConverters.UInt256JsonConverter))]
public uint256 PaymentHash { get; set; }
2023-04-10 11:07:03 +09:00
[JsonConverter(typeof(NBitcoin.JsonConverters.UInt256JsonConverter))]
public uint256 Preimage { get; set; }
}
}