GET
Get 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 Walletsoption 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 Params
-
idarray of stringsFilter by ID. -
coinarray of stringsFilter by coin -
enterprisearray of stringsFilter by enterprise -
typearray of string enumsFilter by wallet type.backingcoldcustodialcustodialPairedhotadvancedtrading -
deletedbooleanFilter by deleted state. -
labelContainsstringFilter by label substring -
bitgoOrgstring enumReturn only wallets belong to the BitGo trust orgBitGo TrustBitGo New YorkBitGo GermanyBitGo SwitzerlandBitGo Europe ApSFrankfurt DE TrustBitGo SingaporeBitGo KoreaBitGo Custody MENA FZEBitGo IndiaBitGo Sister Trust 1
Responses
200
OK
Response Body
object
-
countnumber requiredThe number of wallets that match the query.
400
Bad Request
Response Body
object
-
namestringError code -
contextmap of objects requiredProperties that apply to a specific error namecontext object
-
<key>object
-
-
errorstring requiredHuman-readable error message -
requestIdstring requiredClient request id