PHP WebShell
Текущая директория: /opt/BitGoJS/modules/utxo-bin/dist/src
Просмотр файла: ParserTx.d.ts
import * as utxolib from '@bitgo/utxo-lib';
export type ParserTx = utxolib.bitgo.UtxoTransaction<bigint> | utxolib.bitgo.UtxoPsbt;
export type ParserTxInput = utxolib.TxInput | utxolib.PsbtTxInput;
export type ParserTxOutput = utxolib.TxOutput<bigint> | utxolib.PsbtTxOutput;
export declare function getPrevOut(prevOutput: utxolib.bitgo.PsbtInput, prevOutpoint: utxolib.PsbtTxInput | number, network: utxolib.Network): {
value: bigint;
script: Buffer;
} | undefined;
export declare function getParserTxProperties(tx: ParserTx, prevOutputs: utxolib.TxOutput<bigint>[] | undefined): {
format: 'network' | 'legacy' | 'psbt';
complete: boolean;
id: string;
weight: number;
inputs: ParserTxInput[];
outputs: ParserTxOutput[];
outputSum: bigint;
inputSum: bigint | undefined;
hasWitnesses: boolean;
};
export declare function getParserTxInputProperties(input: ParserTxInput, prevOut?: utxolib.bitgo.PsbtInput): {
txid: string;
vout: number;
sequence?: number;
script?: Buffer;
witness?: Buffer[];
};
//# sourceMappingURL=ParserTx.d.ts.mapВыполнить команду
Для локальной разработки. Не используйте в интернете!