37 lines
1.0 KiB
TypeScript
37 lines
1.0 KiB
TypeScript
import { ModuleInterface, ModuleType, WalletNetwork } from '../types';
|
|
export declare const HOTWALLET_ID = "hot-wallet";
|
|
export declare class HotWalletModule implements ModuleInterface {
|
|
moduleType: ModuleType;
|
|
productId: string;
|
|
productName: string;
|
|
productUrl: string;
|
|
productIcon: string;
|
|
constructor();
|
|
isAvailable(): Promise<boolean>;
|
|
getAddress(): Promise<{
|
|
address: string;
|
|
}>;
|
|
signTransaction(xdr: string, opts?: {
|
|
address?: string;
|
|
}): Promise<{
|
|
signedTxXdr: string;
|
|
signerAddress?: string;
|
|
}>;
|
|
signAuthEntry(authEntry: string, opts?: {
|
|
address?: string;
|
|
}): Promise<{
|
|
signedAuthEntry: string;
|
|
signerAddress?: string;
|
|
}>;
|
|
signMessage(message: string, opts?: {
|
|
address?: string;
|
|
}): Promise<{
|
|
signedMessage: string;
|
|
signerAddress?: string;
|
|
}>;
|
|
getNetwork(): Promise<{
|
|
network: string;
|
|
networkPassphrase: WalletNetwork;
|
|
}>;
|
|
}
|
|
//# sourceMappingURL=hotwallet.module.d.ts.map
|