mirror of
https://github.com/JKorf/CryptoExchange.Net.git
synced 2026-10-15 15:40:52 +00:00
31 lines
979 B
C#
31 lines
979 B
C#
namespace CryptoExchange.Net.SharedApis
|
|
{
|
|
/// <summary>
|
|
/// Request to retrieve the deposit addresses for an asset
|
|
/// </summary>
|
|
public record GetDepositAddressesRequest : SharedRequest
|
|
{
|
|
/// <summary>
|
|
/// Asset to get address for
|
|
/// </summary>
|
|
public string Asset { get; set; }
|
|
/// <summary>
|
|
/// Network name
|
|
/// </summary>
|
|
public string? Network { get; set; }
|
|
|
|
/// <summary>
|
|
/// ctor
|
|
/// </summary>
|
|
/// <param name="asset">Asset name to get address for</param>
|
|
/// <param name="network">Network name</param>
|
|
/// <param name="exchangeParameters">Exchange specific parameters</param>
|
|
public GetDepositAddressesRequest(string asset, string? network = null, ExchangeParameters? exchangeParameters = null)
|
|
: base(null, exchangeParameters)
|
|
{
|
|
Asset = asset;
|
|
Network = network;
|
|
}
|
|
}
|
|
}
|