Get wallets count

get/api/v2/wallets/count

Get a count of all wallets you can access, including:

  • Wallets you have a role on (admin, spender, or viewer).
  • Wallets in enterprises you belong to that have the 'View All Wallets' option enabled from the enterprise settings.

You can use this endpoint in conjunction with the List wallets endpoint to enable paginating a list of wallets. For example, once you get the wallets count, you can use the total count to calculate the number of pages you need in order to display all the wallets.

Query Parameters

  • idarray[string]
    Filter by ID.
    Example: "59cd72485007a239fb00282ed480da1f"
    Pattern: ^[0-9a-f]{32}$
    Min length: >= 1 characters
  • coinarray[string]
    Filter by coin
    Example: "btc"
  • enterprisearray[string]
    Filter by enterprise
    Example: "59cd72485007a239fb00282ed480da1f"
    Pattern: ^[0-9a-f]{32}$
  • typearray[string]
    Filter by wallet type.
    Enum: backing cold custodial custodialPaired hot trading
  • deletedstring
    Filter by deleted state.
    Enum: true false
  • labelContainsstring
    Filter by label substring

200 Response

count number required
The number of wallets that match the query.
Minimum: >= 0

400 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id