UNPKG

@bitgo/utxo-ord

Version:

Utilities for building ordinals with BitGo utxo-lib

31 lines 1.15 kB
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