Import
import type { StateSnapshot as SDKStateSnapshot, AuthStateInfo, TOAuthMethod, TWalletType } from "@getpara/web-sdk";
StateSnapshot
type CorePhase = SDKStateSnapshot['corePhase'];
type AuthPhase = SDKStateSnapshot['authPhase'];
type WalletPhase = SDKStateSnapshot['walletPhase'];
type StateSnapshot = {
corePhase: CorePhase;
authPhase: AuthPhase;
walletPhase: WalletPhase;
authStateInfo: AuthStateInfo;
selectedOAuthMethod: TOAuthMethod | null;
error: Error | null;
isReady: boolean;
};
Wallet presentation inputs
interface GetDisplayAddressOptions {
truncate?: boolean;
addressType?: TWalletType;
cosmosPrefix?: string;
targetLength?: number;
}
type GetIdenticonHashParams = [walletId: string, walletType?: TWalletType];