UNPKG

@coolwallet/ltc

Version:
18 lines (17 loc) 825 B
/// <reference types="node" /> import * as types from '../config/types'; export declare function addressToOutScript(address: string): { scriptType: types.ScriptType; outScript: Buffer; outHash?: Buffer; }; export declare function pubkeyToAddressAndOutScript(burPublicKey: Buffer, scriptType: types.ScriptType): { address: string; outScript: Buffer; hash: Buffer; }; export declare function createUnsignedTransactions(scriptType: types.ScriptType, inputs: Array<types.Input>, output: types.Output, change: types.Change | undefined, version?: number, lockTime?: number): { preparedData: types.PreparedData; unsignedTransactions: Array<Buffer>; }; export declare function composeFinalTransaction(scriptType: types.ScriptType, preparedData: types.PreparedData, signatures: Array<Buffer>): Buffer;