UNPKG

0xweb

Version:

Contract package manager and other web3 tools

43 lines (39 loc) 901 B
export interface TTxReceipt { status: boolean; transactionHash: string; transactionIndex: number; blockHash: string; blockNumber: number; from: string; to: string; contractAddress?: string; cumulativeGasUsed: number; gasUsed: number; effectiveGasPrice: number; logs: TTxLog[]; logsBloom: string; events?: { [eventName: string]: TTxEventLog; }; } export interface TTxEventLog { event: string; address: string; returnValues: any; logIndex: number; transactionIndex: number; transactionHash: string; blockHash: string; blockNumber: number; raw?: {data: string; topics: any[]}; } export interface TTxLog { address: string; data: string; topics: string[]; logIndex: number; transactionIndex: number; transactionHash: string; blockHash: string; blockNumber: number; }