1
0
mirror of https://github.com/JKorf/CryptoExchange.Net.git synced 2026-10-15 15:40:52 +00:00
Files
CryptoExchange.Net/CryptoExchange.Net/SharedApis/V2/Fees/GetFees/GetFeeOptions.cs
T
Jkorf 876c2d27f7 wip
2026-09-10 13:26:33 +02:00

28 lines
916 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace CryptoExchange.Net.SharedApis
{
/// <summary>
/// Options for requesting trading fee info
/// </summary>
public class GetFeeOptions : CapabilityOptions<GetFeeRequest, IGetFees>
{
/// <inheritdoc />
public override string Description => "Retrieve trading fee information";
private static readonly RequestParameterDescription[] _defaultParameterRules = new[]
{
RequestParameterRule<GetFeeRequest>.Required(x => x.Symbol, "The symbol to retrieve trading fees for", new SharedSymbol(TradingMode.Spot, "ETH", "USDT")),
};
/// <summary>
/// ctor
/// </summary>
public GetFeeOptions(string exchange, bool authenticated) : base(exchange, authenticated, nameof(IGetFeesRest.GetFeesAsync), _defaultParameterRules)
{
}
}
}