getKrakenAccounts
Retrieves the authenticated user’s Kraken exchange accounts with their balances. Each account contains multiple currency balances representing the user’s holdings on Kraken.
Use this function to display available funds and to get the accountId required for creating transfers.
Usage
Parameters
Returns
Promise<KrakenAccount[]> - A promise that resolves to an array of Kraken accounts:
Examples
Get all accounts
Filter by blockchain
Filter by network
Find a specific currency balance
Check if user has sufficient balance
React
useGetKrakenAccounts fetches accounts on mount and returns the TanStack Query result:
Get total value across all accounts
Prerequisites
- User must have connected their Kraken account through Dynamic
- User must be authenticated
Last modified on June 29, 2026