Am I lacking something or is it the default behaviour where AllOrders API returns an array of transactions on the root degree when successful; nevertheless on failure it returns a single object with error message. It will have been approach easier to make use of the API if a single structure supported both - for instance:
"code": "ERROR_CODE",
"msg": "ERROR_MESSAGE"
"status": "SUCEESS/ ERROR"
"assets":
[ , ]
-----
Due to two totally different buildings, its making it really arduous to handle the success or error knowledge buildings.
[link] [comments]
You can get bonuses upto $100 FREE BONUS when you:
π° Install these recommended apps:
π² SocialGood - 100% Crypto Back on Everyday Shopping
π² xPortal - The DeFi For The Next Billion
π² CryptoTab Browser - Lightweight, fast, and ready to mine!
π° Register on these recommended exchanges:
π‘ Binanceπ‘ Bitfinexπ‘ Bitmartπ‘ Bittrexπ‘ Bitget
π‘ CoinExπ‘ Crypto.comπ‘ Gate.ioπ‘ Huobiπ‘ Kucoin.
Comments