DepositAddresses
Lists the deposit address details of a singular managed user
For more inspiration, check out these recipes involving managed users
👥Register new managed userOpen Recipe
getDepositAddressesForUser(userId: string)**:
Get deposit addresses for a managed user
const userId = 'northstake_user_guuid'
const {body:result} =await api.managedUsersDepositAddresses.getDepositAddressesForUser(userId)
for (const depositAddress of result.depositAccounts) {
console.log(`
Deposit Address: ${depositAddress.address}
Deposit Address Type: ${depositAddress.type}
`)
}
Updated 5 months ago