UNPKG

@mayaprotocol/zcash-js

Version:

Zcash JavaScript library for Maya Protocol - Build and sign Zcash transparent transactions with memo support

5 lines (4 loc) 409 B
import { Output, Tx, UTXO } from './types'; export declare function getFee(inCount: number, outCount: number, memo?: string): number; export declare function buildTx(height: number, from: string, to: string, amount: number, utxos: UTXO[], isMainnet: boolean, memo?: string): Promise<Tx>; export declare function signAndFinalize(height: number, skb: string, utxos: UTXO[], outputs: Output[]): Promise<Buffer>;