- Java
- .NET
- Go
- Python
- CLI
- TS/JS
Copy
Ask AI
WalletsService walletsService = PrimeServiceFactory.createWalletsService(client);
ListWalletsRequest request = new ListWalletsRequest.Builder()
.portfolioId("PORTFOLIO_ID_HERE")
.type(WalletType.VAULT)
.build();
ListWalletsResponse response = walletsService.listWallets(request);
Copy
Ask AI
var walletsService = new WalletsService(client);
var request = new ListWalletsRequest("PORTFOLIO_ID_HERE")
{
Type = WalletType.VAULT,
}
var response = walletsService.ListWallets(request);
Copy
Ask AI
walletsService := users.NewWalletsService(client)
request := &users.ListWalletsRequest{
PortfolioId: "PORTFOLIO_ID_HERE",
Type: "VAULT",
}
response, err := walletsService.ListWallets(context.Background(), request)
Copy
Ask AI
prime_client = PrimeClient(credentials)
request = ListWalletsRequest(
portfolio_id="PORTFOLIO_ID_HERE",
type="VAULT",
)
response = prime_client.list_wallets(request)
Copy
Ask AI
primectl list-wallets --help
Copy
Ask AI
const walletsService = new WalletsService(client);
walletsService.listWallets({
portfolioId: 'PORTFOLIO_ID_HERE',
type: WalletType.VAULT,
}).then(async (response) => {
console.log('Wallets: ', response);
})