@@ -82,7 +82,7 @@ sdkConfig.put("apiSecret","[YOUR_API_SECRET]");
8282HashMap < String ,Object > nestedparam = new HashMap<String ,Object > ();
8383// This is the timeout in seconds for which the socket connection will remain open
8484// The value of timeout will always be of type long
85- nestedparam. put(" timeout" , (long ) 15 );
85+ nestedparam. put(" timeout" , (long ) 60 );
8686sdkConfig. put(" config" , nestedparam);
8787
8888OSTSDK ostObj = new OSTSDK (sdkConfig);
@@ -414,12 +414,12 @@ arrayListAmount.add(amount);
414414Gson gsonObj = new Gson ();
415415String tokenHolderSender = " 0xa9632350057c2226c5a10418b1c3bc9acdf7e2ee" ;
416416String payCurrencyCode = " USD" ;
417- String ostToUsdInWei = " 23757000000000000" ;
417+ String ostToUsd = " 23757000000000000" ;
418418nestedarraylist. add(tokenHolderSender);
419419nestedarraylist. add(arrayListForUser2TokenHolderAddress);
420420nestedarraylist. add(arrayListAmount);
421421nestedarraylist. add(payCurrencyCode);
422- nestedarraylist. add(ostToUsdInWei );
422+ nestedarraylist. add(ostToUsd );
423423nestedparams. put(" parameters" , nestedarraylist);
424424String jsonStr = gsonObj. toJson(nestedparams);
425425params. put(" raw_calldata" , jsonStr);
0 commit comments