Get all wallets
Get all server-side wallets for your application.
To fetch all your application’s wallets, use the Privy client’s walletApi.getWallets
method. This is a paginated query.
Usage
Parameters
The getWallets
method optionally accepts an object with the following fields:
ID of the wallet from which start the search
Max amount of wallets to fetch per page
Chain type to filter by.
Returns
List of wallets in the current page
Cursor to use for fetching the next page of results, if any
To fetch all your application’s wallets, use the Privy client’s walletApi.getWallets
method. This is a paginated query.
Usage
Parameters
The getWallets
method optionally accepts an object with the following fields:
ID of the wallet from which start the search
Max amount of wallets to fetch per page
Chain type to filter by.
Returns
List of wallets in the current page
Cursor to use for fetching the next page of results, if any
To fetch your wallets by pages, make a GET
request to:
Query
In the request query parameters, include any of the following:
ID of the wallet from which start the search
Max amount of wallets per page
Chain type to filter by.
Response
In the response, Privy will send back the following if successful:
List of wallets in the current page
ID of the wallet from which start the next page
Example
As an example, a sample request to fetch EVM wallets might look like the following:
A successful response will look like the following: