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
  • Dynamic requests the read-only Coinbase scopes wallet:accounts:read, wallet:user:email, and wallet:transactions:read by default. These scopes are sufficient to read accounts and balances. You do not need to add wallet:transactions:send to display balances.
Last modified on August 11, 2026