@btc-vision/transaction
Version:
OPNet transaction library allows you to create and sign transactions for the OPNet network.
33 lines • 1.16 kB
TypeScript
import { RawChallenge } from '../../epoch/interfaces/IChallengeSolution.js';
import { UTXO } from '../../utxo/interfaces/IUTXO.js';
export interface BitcoinTransferBase {
readonly tx: string;
readonly estimatedFees: bigint;
readonly nextUTXOs: UTXO[];
readonly inputUtxos: UTXO[];
}
export interface DeploymentResult {
readonly transaction: [string, string];
readonly contractAddress: string;
readonly contractPubKey: string;
readonly challenge: RawChallenge;
readonly utxos: UTXO[];
readonly inputUtxos: UTXO[];
}
export interface InteractionResponse {
readonly fundingTransaction: string | null;
readonly interactionTransaction: string;
readonly estimatedFees: bigint;
readonly nextUTXOs: UTXO[];
readonly fundingUTXOs: UTXO[];
readonly fundingInputUtxos: UTXO[];
readonly challenge: RawChallenge;
readonly interactionAddress: string | null;
readonly compiledTargetScript: string | null;
}
export interface CancelledTransaction {
readonly transaction: string;
readonly nextUTXOs: UTXO[];
readonly inputUtxos: UTXO[];
}
//# sourceMappingURL=ITransactionResponses.d.ts.map