PHP WebShell
Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@bitgo/utxo-core/dist/src/bip322
Просмотр файла: utils.d.ts
import * as utxolib from '@bitgo/utxo-lib';
export declare function addBip322ProofMessage(psbt: utxolib.Psbt, inputIndex: number, message: Buffer): void;
/**
* Get the BIP322 proof message at a specific input index of the PSBT
* @param psbt
* @param inputIndex
* @returns The BIP322 proof message as a Buffer, or undefined if not found
*/
export declare function getBip322ProofMessageAtIndex(psbt: utxolib.Psbt, inputIndex: number): Buffer | undefined;
/**
* checks if the transaction contains a BIP322 proof
* does not check if the proof is valid
* Source: https://github.com/bitcoin/bips/blob/master/bip-0322.mediawiki#user-content-Full
* @params tx The transaction or the PSBT to check
* @returns boolean
*/
export declare function isBip322ProofCheck(tx: utxolib.bitgo.UtxoPsbt | utxolib.bitgo.UtxoTransaction<bigint>): boolean;
//# sourceMappingURL=utils.d.ts.map
Выполнить команду
Для локальной разработки. Не используйте в интернете!