@citizenwallet/sdk
Version:
An sdk to easily work with citizen wallet.
16 lines • 716 B
TypeScript
import { CommunityConfig } from "../config";
export declare const generateLegacyReceiveLink: (baseUrl: string, config: CommunityConfig, account: string, amount?: string, description?: string) => string;
export declare enum QRFormat {
address = 0,
voucher = 1,
eip681 = 2,
eip681Transfer = 3,
receiveUrl = 4,
unsupported = 5,
walletConnectPairing = 6
}
export declare const parseQRFormat: (raw: string) => QRFormat;
export declare const parseQRCode: (raw: string) => [string, string | null];
export declare const parseAliasFromReceiveLink: (raw: string) => string | null;
export declare const parseMessageFromReceiveLink: (raw: string) => string | null;
//# sourceMappingURL=index.d.ts.map