mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 10:40:29 +01:00
69eaaef963
* GreenField: Store set payment methods * add swagger docs * fix swagger
24 lines
770 B
C#
24 lines
770 B
C#
using System.Collections.Generic;
|
|
|
|
namespace BTCPayServer.Client.Models
|
|
{
|
|
public class OnChainPaymentMethodPreviewResultData
|
|
{
|
|
/// <summary>
|
|
/// a list of addresses generated by the derivation scheme
|
|
/// </summary>
|
|
public IList<OnChainPaymentMethodPreviewResultAddressItem> Addresses { get; set; } =
|
|
new List<OnChainPaymentMethodPreviewResultAddressItem>();
|
|
|
|
public class OnChainPaymentMethodPreviewResultAddressItem
|
|
{
|
|
/// <summary>
|
|
/// The key path relative to the account key path.
|
|
/// </summary>
|
|
public string KeyPath { get; set; }
|
|
//The address generated at the key path
|
|
public string Address { get; set; }
|
|
}
|
|
}
|
|
}
|