@btc-vision/transaction
Version:
OPNet transaction library allows you to create and sign transactions for the OPNet network.
23 lines • 1.01 kB
TypeScript
import { Taptree } from '../../../node_modules/@btc-vision/bitcoin/browser/index.js';
import { TransactionType } from '../enums/TransactionType.js';
import { TapLeafScript } from '../interfaces/Tap.js';
import { IInteractionParameters } from '../interfaces/ITransactionParameters.js';
import { SharedInteractionTransaction } from './SharedInteractionTransaction.js';
/**
* Class for interaction transactions
* @class InteractionTransaction
*/
export declare class InteractionTransaction extends SharedInteractionTransaction<TransactionType.INTERACTION> {
type: TransactionType.INTERACTION;
protected readonly compiledTargetScript: Uint8Array;
protected readonly scriptTree: Taptree;
protected tapLeafScript: TapLeafScript | null;
/**
* Contract secret for the interaction
* @protected
*/
protected readonly contractSecret: Uint8Array;
constructor(parameters: IInteractionParameters);
private generateFeatures;
}
//# sourceMappingURL=InteractionTransaction.d.ts.map