GET
/
v1
/
portfolios
/
{portfolio_id}
/
wallets
curl --request GET \
  --url https://api.prime.coinbase.com/v1/portfolios/{portfolio_id}/wallets
{
  "wallets": [
    {
      "id": "<string>",
      "name": "<string>",
      "symbol": "<string>",
      "type": "UNKNOWN_WALLET_TYPE",
      "created_at": "2023-11-07T05:31:56Z",
      "address": "<string>",
      "visibility": "WALLET_VISIBILITY_UNSPECIFIED",
      "network": {
        "id": "<string>",
        "type": "<string>"
      }
    }
  ],
  "pagination": {
    "next_cursor": "<string>",
    "sort_direction": "DESC",
    "has_next": true
  }
}

Use the Prime SDK or CLI to test this endpoint by following the quickstart guide and running with the following examples

WalletsService walletsService = PrimeServiceFactory.createWalletsService(client);

ListWalletsRequest request = new ListWalletsRequest.Builder()
    .portfolioId("PORTFOLIO_ID_HERE")
    .type(WalletType.VAULT)
    .build();

ListWalletsResponse response = walletsService.listWallets(request);

For more information, please visit the Prime Java SDK.

Path Parameters

portfolio_id
string
required

The portfolio ID

Query Parameters

type
enum<string>
default:UNKNOWN_WALLET_TYPE

The wallet type

  • VAULT: A crypto vault
  • TRADING: A trading wallet
  • WALLET_TYPE_OTHER: Other wallet types (like consumer, etc)
  • QC: A QC Wallet
  • ONCHAIN: An Onchain wallet
Available options:
UNKNOWN_WALLET_TYPE,
VAULT,
TRADING,
WALLET_TYPE_OTHER,
QC,
ONCHAIN
cursor
string

Cursor used for pagination (last consumed record)

limit
integer

Number of wallets to retrieve

sort_direction
enum<string>
default:DESC

Sorting order

Available options:
DESC,
ASC
symbols
string[]

The wallet symbol

Response

200
application/json

A successful response.

The response is of type object.