import { Turnkey } from "@turnkey/sdk-server";const turnkeyClient = new Turnkey({ apiBaseUrl: "https://api.turnkey.com", apiPublicKey: process.env.API_PUBLIC_KEY!, apiPrivateKey: process.env.API_PRIVATE_KEY!, defaultOrganizationId: process.env.ORGANIZATION_ID!,});const response = await turnkeyClient.apiClient().exportWalletAccount({ address: "<string> (Address to identify Wallet Account.)", targetPublicKey: "<string> (Client-side public key generated by the user, to which the export bundle will be encrypted.)"});
import { Turnkey } from "@turnkey/sdk-server";const turnkeyClient = new Turnkey({ apiBaseUrl: "https://api.turnkey.com", apiPublicKey: process.env.API_PUBLIC_KEY!, apiPrivateKey: process.env.API_PRIVATE_KEY!, defaultOrganizationId: process.env.ORGANIZATION_ID!,});const response = await turnkeyClient.apiClient().exportWalletAccount({ address: "<string> (Address to identify Wallet Account.)", targetPublicKey: "<string> (Client-side public key generated by the user, to which the export bundle will be encrypted.)"});