Skip to content

Commit

Permalink
Merge pull request #309 from getsafle/feature-clean-dependencies
Browse files Browse the repository at this point in the history
updated controllers
  • Loading branch information
sshubhamagg authored Feb 15, 2024
2 parents 6c74f72 + bb5ba9b commit dd19edf
Show file tree
Hide file tree
Showing 7 changed files with 67 additions and 646 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -628,4 +628,11 @@

### 2.4.6 (2024-02-2)

* Updated recover vault to handle recurring addresses in logs
* Updated recover vault to handle recurring addresses in logs

### 2.5.0 (2024-02-15)

##### [BREAKING Changes] Removed getAssets() method

* Removed function `getAssets()` to get the list of assets of all the accounts associated as it is moved to an api service.
* Updated avalanche, base and zkEVM controllers.
11 changes: 0 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,17 +191,6 @@ This method is used to get the list of all the accounts (`imported` and `generat

* `encryptionKey` - The encryption key used to encrypt/decrypt the vault.

Get Assets:
This method returns the list of assets for all the addresses on all the chains passed in the array.

`const assets = await vault.getAssets({ addresses, chains, EthRpcUrl, polygonRpcUrl, bscRpcUrl });`

* `addresses` - The list of addresses in an array.
* `chains` - The list of chains in an array.
* `EthRpcUrl` - Ethereum RPC URL.
* `PolygonRpcUrl` - Polygon RPC URL.
* `bscRpcUrl` - BSC RPC URL.

Get Native Asset Balance:
This method is used to get the native asset balance of an address present in the vault.

Expand Down
Loading

0 comments on commit dd19edf

Please sign in to comment.