File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ swap_params = {
9494 " shouldSaveAddress" : True
9595}
9696
97- swap_result = manager.swap_between_chains (swap_params)
97+ swap_result = manager.withdraw (swap_params)
9898print (swap_result)
9999
100100```
@@ -116,6 +116,7 @@ print(deposit_result)
116116
117117NOTE: to get bank codes please use the getBanks method to fetch the list of banks and ther codes
118118
119+
119120#### Create Virtual Account
120121
121122``` python
Original file line number Diff line number Diff line change @@ -94,8 +94,8 @@ def get_balance(self) -> str:
9494 def get_transaction_history (self ) -> str :
9595 return self .__make_calls ("GET" , "/transactions" )
9696
97- def swap_between_chains (self , data : dict ) -> str :
98- return self .__make_calls ("POST" , "/swap " , data )
97+ def withdraw (self , data : dict ) -> str :
98+ return self .__make_calls ("POST" , "/withdraw " , data )
9999
100100 def redeem_assets (self , data : dict ) -> str :
101101 return self .__make_calls ("POST" , "/redeemAsset" , data )
You can’t perform that action at this time.
0 commit comments