getSdkAllowedWallets
Get the list of smart wallet addresses that were created via your SDK API key.
info
This method does not require a wallet connection - only your SDK API key is needed.
Signature
getSdkAllowedWallets(): Promise<SdkAllowedWalletsResponse>
Returns
List of allowed wallet addresses with SDK metadata
Return Type
interface SdkAllowedWalletsResponse {
success: boolean;
allowedWallets: Address[];
metadata: {
sdkKeyId: string;
clientName: string;
walletsCount: number;
};
}
Example
// No wallet connection required
const result = await sdk.getSdkAllowedWallets();
console.log("Client:", result.metadata.clientName);
console.log("Total wallets:", result.metadata.walletsCount);
console.log("Wallet addresses:", result.allowedWallets);
Use Cases
- B2B Dashboards: Display list of user wallets created via your integration
- Analytics: Track wallet creation and growth
- Monitoring: Get wallet count for your SDK key
- Reporting: Generate reports on wallet activity
Notes
- Only returns wallets created via the authenticated SDK API key
- No wallet connection required
- Results are filtered by SDK key authentication
- Wallets are returned in checksummed address format