@celo/explorer"log-explorer"LogExplorer

Class: LogExplorer

Hierarchy

  • LogExplorer

Index

Constructors

Properties

Methods

Constructors

constructor

+ new LogExplorer(kit: ContractKit, contractDetails: ContractDetails[]): LogExplorer

Defined in log-explorer.ts:15

Parameters:

Name Type
kit ContractKit
contractDetails ContractDetails[]

Returns: LogExplorer

Properties

Readonly contractDetails

contractDetails: ContractDetails[]

Defined in log-explorer.ts:17

Methods

fetchTxReceipt

fetchTxReceipt(txhash: string): Promise‹CeloTxReceipt | null›

Defined in log-explorer.ts:47

Parameters:

Name Type
txhash string

Returns: Promise‹CeloTxReceipt | null›


getKnownLogs

getKnownLogs(tx: CeloTxReceipt): EventLog[]

Defined in log-explorer.ts:51

Parameters:

Name Type
tx CeloTxReceipt

Returns: EventLog[]


tryParseLog

tryParseLog(log: Log): null | EventLog

Defined in log-explorer.ts:62

Parameters:

Name Type
log Log

Returns: null | EventLog