Skip to main content

getCoinbaseAccounts

Retrieves the authenticated user’s Coinbase exchange accounts with their balances. Each account contains multiple currency balances representing the user’s holdings on Coinbase. Use this function to display available funds and to get the accountId required for createCoinbaseExchangeTransfer.

Usage

Parameters

Returns

Promise<CoinbaseAccount[]> - A promise that resolves to an array of Coinbase accounts:

Errors

Examples

Get all accounts

Filter by blockchain

Filter by network

Check if user has sufficient balance

Display balances in React

Prerequisites

  • User must have connected their Coinbase account through Dynamic
  • User must be authenticated
Last modified on August 7, 2026