getSmartWalletByEOA
Get smart wallets associated with an EOA address.
Signature
getSmartWalletByEOA(eoaAddress: string): Promise<SmartWalletByEOAResponse>
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
eoaAddress | string | ✅ | EOA (externally owned account) address |
Returns
List of smart wallets owned by the EOA
Return Type
interface SmartWalletByEOAResponse {
success: boolean;
eoa: string;
smartWallet: Address | null;
chains: number[];
}
Example
const result = await sdk.getSmartWalletByEOA("0x...");
console.log("Smart wallet:", result.smartWallet);
console.log("Chains:", result.chains);