2021-04-08 05:43:51 +02:00
|
|
|
using System;
|
2021-03-11 13:34:52 +01:00
|
|
|
using System.Collections.Generic;
|
|
|
|
using BTCPayServer.JsonConverters;
|
|
|
|
using NBitcoin;
|
|
|
|
using NBitcoin.JsonConverters;
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
namespace BTCPayServer.Client.Models
|
|
|
|
{
|
|
|
|
public class OnChainWalletUTXOData
|
|
|
|
{
|
|
|
|
public string Comment { get; set; }
|
|
|
|
[JsonConverter(typeof(NumericStringJsonConverter))]
|
|
|
|
public decimal Amount { get; set; }
|
|
|
|
[JsonConverter(typeof(OutpointJsonConverter))]
|
|
|
|
public OutPoint Outpoint { get; set; }
|
|
|
|
public string Link { get; set; }
|
|
|
|
public Dictionary<string, LabelData> Labels { get; set; }
|
2021-04-08 05:43:51 +02:00
|
|
|
[JsonConverter(typeof(DateTimeToUnixTimeConverter))]
|
|
|
|
public DateTimeOffset Timestamp { get; set; }
|
|
|
|
[JsonConverter(typeof(KeyPathJsonConverter))]
|
|
|
|
public KeyPath KeyPath { get; set; }
|
|
|
|
public string Address { get; set; }
|
2021-04-20 04:02:06 +02:00
|
|
|
public int Confirmations { get; set; }
|
2021-03-11 13:34:52 +01:00
|
|
|
}
|
|
|
|
}
|