opnet
Version:
The perfect library for building Bitcoin-based applications.
16 lines (15 loc) • 605 B
TypeScript
import { Network } from '@btc-vision/bitcoin';
import { ContractEvents, ITransactionReceipt } from '../interfaces/ITransactionReceipt.js';
export declare class TransactionReceipt implements ITransactionReceipt {
readonly receipt?: Buffer;
readonly receiptProofs: string[];
readonly events: ContractEvents;
readonly rawEvents: ContractEvents;
readonly rawRevert?: Buffer;
readonly revert?: string;
readonly gasUsed: bigint;
readonly specialGasUsed: bigint;
constructor(receipt: ITransactionReceipt, network: Network);
private parseEvents;
private decodeEvent;
}