Skip to main content
GET
/
v1
/
portfolios
/
{portfolio_id}
/
wallets
List Portfolio 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
  • Java
  • .NET
  • Go
  • Python
  • CLI
  • TS/JS
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

Query Parameters

type
enum<string>
default:UNKNOWN_WALLET_TYPE
Available options:
UNKNOWN_WALLET_TYPE,
VAULT,
TRADING,
WALLET_TYPE_OTHER,
QC,
ONCHAIN
cursor
string
limit
integer
sort_direction
enum<string>
default:DESC
Available options:
DESC,
ASC
symbols
string[]

Response

wallets
object[]
pagination
object