Note: The Casa API is still in beta and some breaking changes are to be expected.

#

Depositing to Casa

In order to deposit funds to a Casa account, you first need to connect the account through the Connect Flow.

Once the account is connected, you can fetch the account’s wallet data; which includes the currentAddress. You can deposit funds to this address.

Note: The address should not be stored anywhere to avoid address reuse.

Whenever a transaction to this address enters the mempool, Casa will then generate a new currentAddress to prevent address reuse. You can once again fetch this new address by fetching the wallet data.