@dynamic-labs/sdk-react-core
Version:
A React SDK for implementing wallet web3 authentication and authorization to your website.
8 lines (7 loc) • 430 B
TypeScript
import { JwtVerifiedCredential } from '@dynamic-labs/sdk-api-core';
/**
* returns the id of the primary turnkey wallet
* if the primary wallet is a turnkey wallet, it returns the id of the primary wallet
* if the primary wallet is a zerodev wallet, it returns corresponding turnkey wallet id
*/
export declare const getPrimaryTurnkeyWalletId: (primaryWalletId: string, verifiedCredentials: JwtVerifiedCredential[]) => string;