- Java
- .NET
- Go
- Python
- CLI
- TS/JS
Copy
Ask AI
WalletsService walletsService = PrimeServiceFactory.createWalletsService(client);
GetWalletByIdRequest request = new GetWalletByIdRequest.Builder()
.portfolioId("PORTFOLIO_ID_HERE")
.walletId("WALLET_ID_HERE")
.build();
GetWalletByIdResponse response = walletsService.getWalletById(request);
Copy
Ask AI
var walletsService = new WalletsService(client);
var request = new GetWalletByIdRequest("PORTFOLIO_ID_HERE", "WALLET_ID_HERE");
var response = walletsService.GetWalletById(request);
Copy
Ask AI
walletsService := users.NewWalletsService(client)
request := &users.GetWalletRequest{
PortfolioId: "PORTFOLIO_ID_HERE",
Id: "WALLET_ID_HERE",
}
response, err := walletsService.GetWallet(context.Background(), request)
Copy
Ask AI
prime_client = PrimeClient(credentials)
request = GetWalletRequest(
portfolio_id="PORTFOLIO_ID_HERE",
wallet_id="WALLET_ID_HERE",
)
response = prime_client.get_wallet(request)
Copy
Ask AI
primectl get-wallet --help
Copy
Ask AI
const walletsService = new WalletsService(client);
walletsService.getWallets({
portfolioId: 'PORTFOLIO_ID_HERE',
walletId: 'WALLET_ID_HERE'
}).then(async (response) => {
console.log('Wallet: ', response);
})