dougdellolio / coinbasepro-csharp

The unofficial .NET/C# client library for the Coinbase Pro/GDAX API
MIT License
193 stars 90 forks source link

ZRX Currency type needed #158

Closed bwjunkie closed 5 years ago

bwjunkie commented 5 years ago

AccountsService.GetAllAccountsAsync maybe just broke in the last 24 hrs, due to CoinbasePro's new currency type.

Error converting value ""ZRX"" to type 'CoinbasePro.Shared.Types.Currency'

bwjunkie commented 5 years ago

Things worked for me once I appended,

public enum Currency {... , ZRX

and

public enum Producttype {... , [EnumMember(Value = "ZRX-USD")] ZrxUsd

dougdellolio commented 5 years ago

@bwjunkie please update to the latest version in nuget (v1.0.22) for this fix. thanks!