btcpayserver/BTCPayServer/Payments/Lightning/Charge/GetInfoResponse.cs

25 lines
716 B
C#
Raw Normal View History

2017-12-13 15:49:19 +09:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BTCPayServer.Payments.Lightning.Charge
2017-12-13 15:49:19 +09:00
{
//[{"type":"ipv4","address":"52.166.90.122","port":9735}]
2017-12-13 15:49:19 +09:00
public class GetInfoResponse
{
public class GetInfoAddress
{
public string Type { get; set; }
public string Address { get; set; }
public int Port { get; set; }
}
public string Id { get; set; }
2017-12-13 15:49:19 +09:00
public int Port { get; set; }
public GetInfoAddress[] Address { get; set; }
public string Version { get; set; }
2017-12-13 15:49:19 +09:00
public int BlockHeight { get; set; }
public string Network { get; set; }
2017-12-13 15:49:19 +09:00
}
}