mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 10:40:29 +01:00
7d1761de4f
Allows provides confirmation count to Greenfield UTXO GET api
27 lines
908 B
C#
27 lines
908 B
C#
using System;
|
|
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; }
|
|
[JsonConverter(typeof(DateTimeToUnixTimeConverter))]
|
|
public DateTimeOffset Timestamp { get; set; }
|
|
[JsonConverter(typeof(KeyPathJsonConverter))]
|
|
public KeyPath KeyPath { get; set; }
|
|
public string Address { get; set; }
|
|
public int Confirmations { get; set; }
|
|
}
|
|
}
|