@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
6 lines • 620 B
TypeScript
import { Account as WalletAPIAccount } from "@ledgerhq/wallet-api-core";
import { TokenAccount, Account, AccountLike } from "@ledgerhq/types-live";
import { LiveAppManifest } from "../../platform/types";
/** The dapp connector "v3" uses the ledger live account ID to find the correct account. Live app and dapp browser manifests require wallet API ID. */
export declare function deriveAccountIdForManifest(accountId: Account["id"] | TokenAccount["id"] | AccountLike["id"], walletApiAccountId: WalletAPIAccount["id"] | string, manifest: LiveAppManifest): string;
//# sourceMappingURL=deriveAccountIdForManifest.d.ts.map