mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 06:24:24 +01:00
* GreenField: Cross-implemenation Lightning Node API * switch to hard unrsstricted check * fix * set LightningPrivateRouteHints in swagger + stores api * add priv route hint * rename models and add swagger defs to models
17 lines
463 B
C#
17 lines
463 B
C#
using NBitcoin;
|
|
using NBitcoin.JsonConverters;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace BTCPayServer.Client.Models
|
|
{
|
|
public class OpenLightningChannelRequest
|
|
{
|
|
public ConnectToNodeRequest Node { get; set; }
|
|
[JsonProperty(ItemConverterType = typeof(MoneyJsonConverter))]
|
|
public Money ChannelAmount { get; set; }
|
|
|
|
[JsonProperty(ItemConverterType = typeof(FeeRateJsonConverter))]
|
|
public FeeRate FeeRate { get; set; }
|
|
}
|
|
}
|