UNPKG

opnet

Version:

The perfect library for building Bitcoin-based applications.

22 lines (21 loc) 703 B
import { NetEvent } from '@btc-vision/transaction'; export interface NetEventDocument { readonly contractAddress: string; readonly type: string; readonly data: string; } export interface IRawContractEvents { [key: string]: NetEventDocument[]; } export type RawContractEvents = IRawContractEvents | NetEventDocument[]; export interface ContractEvents { [key: string]: NetEvent[]; } export interface ITransactionReceipt { readonly receipt?: string | Buffer; readonly receiptProofs?: string[]; readonly events?: RawContractEvents | ContractEvents; readonly revert?: string | Buffer; readonly gasUsed: string | bigint; readonly specialGasUsed: string | bigint; }