@creit.tech/stellar-wallets-kit
Version:
A kit to handle all Stellar Wallets at once
45 lines • 1.28 kB
TypeScript
import { ModuleInterface, ModuleType } from '../types';
export declare const FREIGHTER_ID = "freighter";
export declare class FreighterModule implements ModuleInterface {
moduleType: ModuleType;
productId: string;
productName: string;
productUrl: string;
productIcon: string;
runChecks(): Promise<void>;
isAvailable(): Promise<boolean>;
getAddress(): Promise<{
address: string;
}>;
signTransaction(xdr: string, opts?: {
networkPassphrase?: string;
address?: string;
path?: string;
submit?: boolean;
submitUrl?: 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