Get wallets count

get/api/v2/wallets/count

Returns a count of all the wallets for which you have any permission (view, spend, admin). If you don't have permission to view all wallets in the enterprise, then returns a count of the wallets only for which the you are a member. 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 that count to calculate the number of pages you need to display all the wallets.

Query Parameters

  • coinarray[string]
    Filter by coin
    Example: "btc"
  • deletedarray[boolean]
    Filter by deleted state
  • enterprisearray[string]
    Filter by enterprise
    Example: "59cd72485007a239fb00282ed480da1f"
    Pattern: ^[0-9a-f]{32}$
  • enterpriseIsNullboolean
    Filter by whether the enterprise field is null
  • idarray[string]
    Filter by id
    Example: "59cd72485007a239fb00282ed480da1f"
    Pattern: ^[0-9a-f]{32}$
  • labelContainsstring
    Filter by label substring
  • typearray[string]
    Filter by wallet type
    Enum: cold custodial custodialPaired hot trading distributedCustody

200 Response

count integer required
Minimum: >= 0

400 Response

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