PHP WebShell

Текущая директория: /usr/lib/node_modules/bitgo/node_modules/bip174/src/lib

Просмотр файла: psbt.d.ts

/// <reference types="node" />
import { KeyValue, PsbtGlobal, PsbtGlobalUpdate, PsbtInput, PsbtInputExtended, PsbtInputUpdate, PsbtOutput, PsbtOutputExtended, PsbtOutputUpdate, Transaction, TransactionFromBuffer } from './interfaces';
export declare class Psbt {
    static fromBase64<T extends typeof Psbt>(this: T, data: string, txFromBuffer: TransactionFromBuffer, { bip32PathsAbsolute }?: {
        bip32PathsAbsolute?: boolean | undefined;
    }): InstanceType<T>;
    static fromHex<T extends typeof Psbt>(this: T, data: string, txFromBuffer: TransactionFromBuffer, { bip32PathsAbsolute }?: {
        bip32PathsAbsolute?: boolean | undefined;
    }): InstanceType<T>;
    static fromBuffer<T extends typeof Psbt>(this: T, buffer: Buffer, txFromBuffer: TransactionFromBuffer, { bip32PathsAbsolute }?: {
        bip32PathsAbsolute?: boolean | undefined;
    }): InstanceType<T>;
    readonly inputs: PsbtInput[];
    readonly outputs: PsbtOutput[];
    readonly globalMap: PsbtGlobal;
    constructor(tx: Transaction);
    toBase64(): string;
    toHex(): string;
    toBuffer(): Buffer;
    updateGlobal(updateData: PsbtGlobalUpdate): this;
    updateInput(inputIndex: number, updateData: PsbtInputUpdate): this;
    updateOutput(outputIndex: number, updateData: PsbtOutputUpdate): this;
    addUnknownKeyValToGlobal(keyVal: KeyValue): this;
    addUnknownKeyValToInput(inputIndex: number, keyVal: KeyValue): this;
    addUnknownKeyValToOutput(outputIndex: number, keyVal: KeyValue): this;
    addInput(inputData: PsbtInputExtended): this;
    addOutput(outputData: PsbtOutputExtended): this;
    clearFinalizedInput(inputIndex: number): this;
    combine(...those: this[]): this;
    getTransaction(): Buffer;
}

Выполнить команду


Для локальной разработки. Не используйте в интернете!