knowm / XChange

XChange is a Java library providing a streamlined API for interacting with 60+ Bitcoin and Altcoin exchanges providing a consistent interface for trading and accessing market data.
http://knowm.org/open-source/xchange/
MIT License
3.86k stars 1.94k forks source link

[Bitstamp] Implement client call for the V2 withdrawal-fees endpoint #4903

Closed tross-nydig closed 3 months ago

tross-nydig commented 3 months ago

The Bitstamp V2 API has an endpoint for requesting all withdrawal fees:

https://www.bitstamp.net/api/v2/fees/withdrawal/

Would be pretty straightforward to implement in xchange-bitstamp by simply adding a WithdrawalFee object and adding the interface and implementation to BitstampAuthenticatedV2 and BitstampAccountServiceRaw, respectively.

tross-nydig commented 3 months ago

I've got this working with a jar built from my own fork, so I issued a PR here: https://github.com/knowm/XChange/pull/4902

tross-nydig commented 3 months ago

Change merged, thanks @bigscoop and @timmolter.