Commit Graph

60 Commits

Author SHA1 Message Date
Alfred Kamanda
532547899f include the error code 2025-10-22 11:46:13 +03:00
Alfred Kamanda
6f7802b58c modify doRequest() to return APIError on err 2025-10-21 15:05:22 +03:00
Alfred Kamanda
73e6220a8c create a custom error struct that carries both fields from the API 2025-10-21 15:02:36 +03:00
Alfred Kamanda
61410b2b29 Normalize symbols before returning 2025-10-06 11:43:25 +03:00
alfred-mk
814bef2b20 fix: have the same order of received variables 2025-07-01 00:49:12 +03:00
alfred-mk
12940bb5f2 fix: use the correct PUT request method 2025-07-01 00:36:06 +03:00
alfred-mk
50ee455e70 fix: use the correct AliasUpdateURL 2025-07-01 00:31:35 +03:00
alfred-mk
49a8184d02 add the UpdateAlias function 2025-06-26 09:53:26 +03:00
alfred-mk
339ba854c9 fix: correctly unmarshal nested pool details response in retrievePoolDeta 2025-06-24 12:07:44 +03:00
alfred-mk
5aa032400c update the alias endpoints 2025-06-24 10:48:30 +03:00
alfred-mk
7b42d509e6 log the request and response body 2025-06-23 10:50:57 +03:00
alfred-mk
c1797e7a32 use the TokenHoldings instead of TokenDetails 2025-06-23 09:32:34 +03:00
alfred-mk
b5ccaea575 add the RetrievePoolDetails to the testutil and dev account service 2025-06-06 22:42:35 +03:00
alfred-mk
bf830e92de add the RetrievePoolDetails to the account_service 2025-06-05 20:41:08 +03:00
alfred-mk
24224e553d use the correct PoolSwapURL when performing the actual swap 2025-05-22 15:31:08 +03:00
alfred-mk
6c3719e3b6 Fix: use the correct TokenDetails in the GetPoolSwappableVouchers 2025-05-21 17:12:46 +03:00
alfred-mk
343d30a2f2 rename the variables and read the stables param from the config 2025-05-21 15:42:06 +03:00
alfred-mk
857f564aae Fix: remove the unused publicKey from the GetPoolSwappableVouchers 2025-05-21 15:22:31 +03:00
alfred-mk
f234d51104 Fix: update the getPoolSwappableVouchers to pass a 'stable' query parameter 2025-05-21 15:21:27 +03:00
alfred-mk
81fbc2574c Fix: use the correct getPoolSwappableVouchers 2025-05-20 15:50:35 +03:00
alfred-mk
334aa07f9f Fix: Correct JSON mapping for checkTokenInPool and getSwapFromTokenMaxLimit API responses 2025-05-20 15:48:13 +03:00
alfred-mk
050998ff82 added CheckTokenInPool to the account_service and test utils 2025-05-17 14:45:12 +03:00
alfred-mk
ee434dba69 added CheckTokenInPool to check whether a token can be swapped from in a pool 2025-05-17 14:37:06 +03:00
alfred-mk
3b85167ad8 Merge branch 'master' into pool-swap-endpoints 2025-05-16 12:43:26 +03:00
Carlosokumu
341901ec83 match new external sms endpoint 2025-04-28 11:26:13 +03:00
Carlosokumu
86cfb9c020 match expected method signature 2025-04-17 22:18:30 +03:00
Carlosokumu
b85511e436 implement SendPINResetSMS and SendAddressSMS 2025-04-17 18:57:24 +03:00
Carlosokumu
a243fe8c29 add SendAddressSMS and SendPINResetSMS 2025-04-17 18:57:02 +03:00
Carlosokumu
5b41c8dc64 chore: rename SendSMS to SendUpsellSMS 2025-04-01 14:55:03 +03:00
Carlosokumu
417e7f0179 fix: correct sendSms response 2025-04-01 14:53:30 +03:00
Carlosokumu
2eed990921 Merge branch 'master' into sms-api 2025-04-01 14:18:04 +03:00
Carlosokumu
064e749b04 Merge branch 'master' into pool-swap-endpoints 2025-03-19 15:22:30 +03:00
Carlosokumu
80c2493e80 implement get token pool limit,get all pool swappable vouchers 2025-03-19 12:09:52 +03:00
Carlosokumu
ee04552cbb feat: implement fetch top pools,retrieve pool details using a pool symbol 2025-03-17 20:40:19 +03:00
alfred-mk
17e89e0b88 Added the GetSwapFromTokenMaxLimit 2025-03-11 15:46:17 +03:00
alfred-mk
3b39b86d09 pass the correct arguments to the swap functions 2025-03-10 17:12:05 +03:00
alfred-mk
ba8d2a19c2 Use the DevAccountService functions to retrieve the data 2025-03-10 16:39:37 +03:00
alfred-mk
e3b6c25792 Added the swap functions to the accountService interface 2025-03-10 14:17:03 +03:00
alfred-mk
d7ae1cc096 Include the account's public key 2025-03-10 13:59:05 +03:00
Carlosokumu
8145b4bd00 fix: remove formatting to fqdn 2025-03-10 12:39:12 +03:00
Carlosokumu
dda02852bf add alias resolve logs 2025-03-10 11:49:49 +03:00
Carlosokumu
6e437cb8e0 feat: sanitize alias hint before resolving 2025-03-07 16:10:40 +03:00
Carlosokumu
4af0e9709d fix: format alias to fqdn before request 2025-03-07 16:04:15 +03:00
Carlosokumu
9c8a3df971 add logs 2025-03-07 09:45:09 +03:00
Carlosokumu
e8c58a8f33 feat: implement fetch pools,pool swappable vouchers with dummy data 2025-03-07 08:13:15 +03:00
alfred-mk
4a5de68a8c added the SendSMS func to the httpAccount service 2025-03-06 09:06:45 +03:00
Carlosokumu
a1fe416f51 implement pool deposit,swap and quote endpoints 2025-03-05 16:41:54 +03:00
Carlosokumu
1f3ac220d1 feat: request and resolve aliases. 2025-02-24 14:49:58 +03:00
Carlosokumu
3f9dc89a40 resolve alias address based on UseApi field 2025-01-22 17:19:46 +03:00
Carlosokumu
9c75109b75 use dev storage service 2025-01-22 15:35:16 +03:00