@creit.tech/stellar-wallets-kit
Version:
A kit to handle all Stellar Wallets at once
45 lines • 1.28 kB
TypeScript
import { type ModuleInterface, ModuleType } from "../../types/mod.js";
export declare const FREIGHTER_ID: string;
export declare class FreighterModule implements ModuleInterface {
moduleType: ModuleType;
productId: string;
productName: string;
productUrl: string;
productIcon: string;
runChecks(): Promise<void>;
isAvailable(): Promise<boolean>;
getAddress(params: {
skipRequestAccess?: boolean;
}): Promise<{
address: string;
}>;
signTransaction(xdr: string, opts?: {
networkPassphrase?: string;
address?: string;
path?: string;
}): Promise<{
signedTxXdr: string;
signerAddress?: string;
}>;
signAuthEntry(authEntry: string, opts?: {
networkPassphrase?: string;
address?: string;
path?: string;
}): Promise<{
signedAuthEntry: string;
signerAddress?: string;
}>;
signMessage(message: string, opts?: {
networkPassphrase?: string;
address?: string;
path?: string;
}): Promise<{
signedMessage: string;
signerAddress?: string;
}>;
getNetwork(): Promise<{
network: string;
networkPassphrase: string;
}>;
}
//# sourceMappingURL=freighter.module.d.ts.map