UNPKG

@btc-vision/transaction

Version:

OPNet transaction library allows you to create and sign transactions for the OPNet network.

23 lines 990 B
import { type Taptree } from '@btc-vision/bitcoin'; import { TransactionType } from '../enums/TransactionType.js'; import type { TapLeafScript } from '../interfaces/Tap.js'; import type { 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