@btc-vision/transaction
Version:
OPNet transaction library allows you to create and sign transactions for the OPNet network.
15 lines (14 loc) • 759 B
TypeScript
import { Taptree } from '@btc-vision/bitcoin';
import { TransactionType } from '../enums/TransactionType.js';
import { TapLeafScript } from '../interfaces/Tap.js';
import { IInteractionParameters } from '../interfaces/ITransactionParameters.js';
import { SharedInteractionTransaction } from './SharedInteractionTransaction.js';
export declare class InteractionTransaction extends SharedInteractionTransaction<TransactionType.INTERACTION> {
type: TransactionType.INTERACTION;
protected readonly compiledTargetScript: Buffer;
protected readonly scriptTree: Taptree;
protected tapLeafScript: TapLeafScript | null;
protected readonly contractSecret: Buffer;
constructor(parameters: IInteractionParameters);
private generateFeatures;
}