WalletRepository class for managing wallets associated with your project. The WalletRepository allows you to add, update, and remove wallets.
Once you have initialized the Tenderly SDK, you can use the wallets namespace to access the WalletRepository instance.
Adding a wallet
To add a new wallet, use theadd method of the wallets namespace:
example.jsx
Updating a wallet
To update an existing wallet, use theupdate method of the wallets namespace:
example.jsx
Removing a wallet
To remove a wallet, use theremove method of the wallets namespace:
example.jsx
Fetching wallets
To fetch wallets associated with your project, use thegetAll method of the wallets namespace:
example.jsx
Fetching a single wallet
To fetch a single wallet by its ID, use theget method of the wallets namespace:
example.jsx