PHP WebShell
Текущая директория: /opt/BitGoJS/modules/utxo-ord/dist/src
Просмотр файла: inscriptions.d.ts
import { Network } from '@bitgo/utxo-lib';
import * as utxolib from '@bitgo/utxo-lib';
import { PreparedInscriptionRevealData } from '@bitgo/sdk-core';
/**
* @param pubkey
* @param contentType
* @param inscriptionData
* @param network
* @returns PreparedInscriptionRevealData
*/
export declare function createInscriptionRevealData(pubkey: Buffer, contentType: string, inscriptionData: Buffer, network: Network): PreparedInscriptionRevealData;
/**
* @param pubkey
* @param contentType
* @param inscriptionData
* @returns inscription address
*/
export declare function createOutputScriptForInscription(pubkey: Buffer, contentType: string, inscriptionData: Buffer): Buffer;
/**
*
* @param privateKey
* @param tapLeafScript
* @param commitAddress
* @param recipientAddress
* @param unsignedCommitTx
* @param network
*
* @return a fully signed reveal transaction
*/
export declare function signRevealTransaction(privateKey: Buffer, tapLeafScript: utxolib.bitgo.TapLeafScript, commitAddress: string, recipientAddress: string, unsignedCommitTx: Buffer, network: Network): utxolib.bitgo.UtxoPsbt;
//# sourceMappingURL=inscriptions.d.ts.mapВыполнить команду
Для локальной разработки. Не используйте в интернете!