I am using the Poloniex C# API available here: Poloniex C#.
I am trying to withdraw ETH from my account like this:
private string ETHWithdrawalAddress;
public async void WithdrawETH(double amount)
{
var addresses = await client.Wallet.GetDepositAddressesAsync();
ETHWithdrawalAddress = addresses["ETH"];
await client.Wallet.PostWithdrawalAsync("ETH", amount, ETHWithdrawalAddress);
}
but I'm receiving this error
Could not create an instance of type Jojatekok.PoloniexAPI.WalletTools.IGeneratedDepositAddress.
Type is an interface or abstract class and cannot be instantiated.
Any help with solving this problem would be appreciated.