UNPKG

ecash-lib

Version:

Library for eCash transaction building

14 lines 609 B
import { Script } from '../script.js'; /** Build an eMPP OP_RETURN script with the given pushdata */ export declare function emppScript(pushdata: Uint8Array[]): Script; /** * Parse a script for EMPP push(es) * * EMPP may encode multiple pushdatas in a single OP_RETURN script * * input script is a valid EMPP OP_RETURN => returns an array of EMPP pushdata(s) * input script is not an EMPP OP_RETURN => returns undefined * input script is an invalid EMPP OP_RETURN => throws */ export declare function parseEmppScript(script: Script): Uint8Array[] | undefined; //# sourceMappingURL=empp.d.ts.map