UNPKG

haven-core-js

Version:

The JS library containing the Haven crypto plus lightweight wallet functions

62 lines (57 loc) 2.38 kB
export = MyMoneroCoreBridgeEssentialsClass; declare class MyMoneroCoreBridgeEssentialsClass { constructor(this_Module: any); is_subaddress(addr: string, nettype: any): any; is_integrated_address(addr: any, nettype: any): any; new_payment_id(): any; new__int_addr_from_addr_and_short_pid(address: any, short_pid: any, nettype: any): any; decode_address(address: string, nettype: number): { spend: string; view: string; intPaymentId: string; isSubaddress: boolean; }; newly_created_wallet(locale_language_code: any, nettype: any): { mnemonic_string: any; mnemonic_language: any; sec_seed_string: any; address_string: any; pub_viewKey_string: any; sec_viewKey_string: any; pub_spendKey_string: any; sec_spendKey_string: any; }; are_equal_mnemonics(a: any, b: any): any; mnemonic_from_seed(seed_string: any, wordset_name: any): any; seed_and_keys_from_mnemonic(mnemonic_string: string, nettype: number): { sec_seed_string: string; mnemonic_language: string; address_string: string; pub_viewKey_string: string; sec_viewKey_string: string; pub_spendKey_string: string; sec_spendKey_string: string; }; validate_components_for_login(address_string: string, sec_viewKey_string: string, sec_spendKey_string: string, seed_string: string, nettype: number): { isValid: boolean; isInViewOnlyMode: boolean; pub_viewKey_string: string; pub_spendKey_string: string; }; address_and_keys_from_seed(seed_string: string, nettype: number): { address_string: string; pub_viewKey_string: string; sec_viewKey_string: string; pub_spendKey_string: string; sec_spendKey_string: string; }; address_and_keys_from_keys_buf(keys_buf_string: any, password_string: any, nettype: any): { address_string: any; pub_viewKey_string: any; sec_viewKey_string: any; pub_spendKey_string: any; sec_spendKey_string: any; }; generate_key_image(tx_pub: any, view_sec: any, spend_pub: any, spend_sec: any, output_index: any): any; estimated_tx_network_fee(fee_per_kb__string: string, priority: number, optl__fee_per_b_string: string, optl__fork_version: number): number; }