@@ -267,7 +267,7 @@ System.out.println("response: " + response.toString() );
267267
268268### Executing Transactions
269269
270- For executing transactions, you need to understand the 3 modules described below.
270+ For executing transactions, you need to understand the 4 modules described below.
271271
272272#### Rules Module
273273
@@ -292,6 +292,24 @@ JsonObject response = rulesService.getList( params );
292292System . out. println(" response: " + response. toString() );
293293```
294294
295+ #### Price Points Module
296+
297+ To know the OST price point in USD and when it was last updated,
298+ use services provided by the Price Points module.
299+
300+ ``` java
301+ com.ost.services. PricePoints pricePointsService = services. pricePoints;
302+ ```
303+
304+ Get Price Points Detail:
305+
306+ ``` java
307+ HashMap < String ,Object > params = new HashMap<String ,Object > ();
308+ params. put(" chain_id" , " 200" );
309+ JsonObject response = pricePointsService. get( params );
310+ System . out. println(" response: " + response. toString() );
311+ ```
312+
295313#### Transactions Module
296314
297315After reviewing the rules information received using services in the Rules
@@ -525,22 +543,4 @@ HashMap <String,Object> params = new HashMap<String,Object>();
525543params. put(" chain_id" , " 200" );
526544JsonObject response = chainsService. get( params );
527545System . out. println(" response: " + response. toString() );
528- ```
529-
530- ### Price Points Module
531-
532- To know the OST price point in USD and when it was last updated,
533- use services provided by the Price Points module.
534-
535- ``` java
536- com.ost.services. PricePoints pricePointsService = services. pricePoints;
537- ```
538-
539- Get Price Points Detail:
540-
541- ``` java
542- HashMap < String ,Object > params = new HashMap<String ,Object > ();
543- params. put(" chain_id" , " 200" );
544- JsonObject response = pricePointsService. get( params );
545- System . out. println(" response: " + response. toString() );
546- ```
546+ ```
0 commit comments