public static Transfer BuyBitcoins(Quantity quantity, APIKey apiKey) { TransferResponse transferResponse = (TransferResponse)PostResource( "buys", quantity, typeof(Quantity), typeof(TransferResponse), apiKey ); return transferResponse.Transfer; }
public static Transfer SellBitcoins(decimal qty, APIKey apiKey) { Quantity quantity = new Quantity() { Value = qty }; return SellBitcoins(quantity, apiKey); }