Skip to content

Commit f2f6f0a

Browse files
Readme changes for base token api.
1 parent ff2768f commit f2f6f0a

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -543,3 +543,21 @@ params.put("chain_id", "200");
543543
JsonObject response = chainsService.get( params );
544544
System.out.println("response: " + response.toString() );
545545
```
546+
547+
### Base Tokens Module
548+
549+
To get information about the base tokens available on the OST Platform interface, use services
550+
provided by the Base Tokens module. You can use this service to obtain the base token details
551+
on OST Platform interface.
552+
553+
```java
554+
com.ost.services.BaseTokens baseTokensService = services.baseTokens;
555+
```
556+
557+
Get Base Token Detail:
558+
559+
```java
560+
HashMap <String,Object> params = new HashMap<String,Object>();
561+
JsonObject response = baseTokensService.get( params );
562+
System.out.println("response: " + response.toString() );
563+
```

0 commit comments

Comments
 (0)