Getting Wallets
Getting all the wallets and addresses for a user
Suppose you want to view all of the addresses that a certain user generated. You can use the SDK to get back all of their addresses and check the balances.
A wallet is a collection of addresses that the user created. users could generate an infinite number of addresses if they wish but typically the user generates one to two addresses.
Here are the properties for getWallets
function:
property | description | required | type |
---|---|---|---|
network | specify which blockchin | required | networkType |
reference | specify which user | optional | string |
for example,
You only need to initialize the client once at the start of the application
Last updated