Viewing File: /home/ubuntu/efiexchange-node-base/node_modules/bip174/src/lib/parser/fromBuffer.d.ts

/// <reference types="node" />
import { KeyValue, Transaction, TransactionFromBuffer } from '../interfaces';
import { PsbtAttributes } from './index';
export declare function psbtFromBuffer(buffer: Buffer, txGetter: TransactionFromBuffer): PsbtAttributes;
interface PsbtFromKeyValsArg {
    globalMapKeyVals: KeyValue[];
    inputKeyVals: KeyValue[][];
    outputKeyVals: KeyValue[][];
}
export declare function checkKeyBuffer(type: string, keyBuf: Buffer, keyNum: number): void;
export declare function psbtFromKeyVals(unsignedTx: Transaction, { globalMapKeyVals, inputKeyVals, outputKeyVals }: PsbtFromKeyValsArg): PsbtAttributes;
export {};
Back to Directory File Manager