scrypt-ts
Version:
A toolset for building sCrypt smart contract applications on Bitcoin SV network written in typescript.
17 lines (16 loc) • 422 B
TypeScript
export interface UtxoSpentEvent {
readonly event: 'utxoSpent';
readonly spentUtxo: {
readonly txId: string;
readonly outputIndex: number;
};
readonly spentBy: {
readonly txId: string;
readonly inputIndex: number;
};
readonly contractId: {
readonly txId: string;
readonly outputIndex: number;
};
readonly createdInSpentTxOutputs?: number[];
}