StealthEX Upgrades The API

StealthEX Upgrades The API For Developers

By StealthEX | StealthEX Blog | 22 Dec 2020


Recently, StealthEX has seriously changed the API for developers. Here are the most significant updates.

1. Error handling

StealthEX API Documentation V2

2. Fixed-Rate Exchange

Now it’s possible to create new exchanges with a fixed rate via our API. 

  • To exchange tokens with a fixed rate, specify “fixed”: true parameter in the request body. 
  • To get information about pairs available for exchange and estimates, add this parameter to endpoints: fixed=true.

Furthermore, the StealthEX team has added a new endpoint /range/:from/:to. It returns an object with a minimal and maximum amount in the base currency required to make an exchange.

You can read the documents and see examples at the link.

3. Refund address / Refund Extra ID

With a new version of API, it’s possible to pass parameters Refund address and Refund Extra ID in the request body while creating a new exchange. 

  • Refund address - Blockchain address to return the base currency if the exchange status is failed. 
  • Refund Extra ID - Refund Extra ID for the base currency if the exchange status is failed.

You can read the documents and see examples at the link.

We want to point out that API V2 is the main version we use now. So, if you are still using API V1, it's better to upgrade to a newer V2 version. We are planning to stop supporting V1 in the nearest future.

Be sure to follow us on TwitterTelegram, and Reddit to get StealthEX.io updates and the latest news about the crypto world. For all requests message us via [email protected]

How do you rate this article?

1


StealthEX
StealthEX Verified Member

StealthEX is a user-friendly cryptocurrency exchange. Bitcoin, Ethereum, Litecoin, XRP, Chainlink, and 2000+ coins are available for instant non-custodial exchange with the best floating and fixed rates. You can also buy crypto with a credit card!


StealthEX Blog
StealthEX Blog

Welcome to StealthEX blog. Here you can learn more about cryptocurrency exchanges, how to buy, spend and secure your crypto coins and tokens. Our team is striving to provide the most useful crypto data – if you want to stay informed, stay with us!

Send a $0.01 microtip in crypto to the author, and earn yourself as you read!

20% to author / 80% to me.
We pay the tips from our rewards pool.