File tree Expand file tree Collapse file tree 1 file changed +19
-2
lines changed
Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -128,8 +128,11 @@ System.out.println(balance);
128128#### Get Transaction History
129129
130130``` java
131- JSONArray transactions = manager. getTransactionHistory();
132- System . out. println(transactions);
131+ TransactionParams transactionParams = new TransactionParams (
132+ 1 , // page
133+ 2 // limit
134+ );
135+ System . out. println(" Fetch Transaction History : " + cngnManager. getTransactionHistory(transactionParams));
133136```
134137
135138#### Swap Between Chains
@@ -185,6 +188,20 @@ UpdateExternalAccountParams.WalletAddress walletAddress = new UpdateExternalAcco
185188System . out. println(" Update External Accounts " + cngnManger. updateExternalAccounts(params));
186189```
187190
191+
192+ #### IWithdrawal
193+ ``` java
194+ IWithdrawParams withdrawParams = new IWithdrawParams (
195+ " 1000" , // amount
196+ " 0x789..." , // address
197+ Network . BSC , // network
198+ true // shouldSaveAddress
199+ );
200+ System . out. println(" Withdraw : " + cngnManager. withdraw(withdrawParams));
201+
202+ ```
203+
204+
188205#### Fetch Banks
189206
190207``` java
You can’t perform that action at this time.
0 commit comments