Interface TypedEvent<TArgsArray, TArgsObject>

Type parameters

  • TArgsArray: Array<any>

  • TArgsObject

Hierarchy

  • Event
    • TypedEvent

Index

Properties

address

address: string

args

args: TArgsArray & TArgsObject

blockHash

blockHash: string

blockNumber

blockNumber: number

data

data: string

Optional decode

decode: (data: string, topics?: Array<string>) => any

Type declaration

    • (data: string, topics?: Array<string>): any
    • Parameters

      • data: string
      • Optional topics: Array<string>

      Returns any

Optional decodeError

decodeError: Error

Optional event

event: string

Optional eventSignature

eventSignature: string

getBlock

getBlock: () => Promise<Block>

Type declaration

    • (): Promise<Block>
    • Returns Promise<Block>

getTransaction

getTransaction: () => Promise<TransactionResponse>

Type declaration

    • (): Promise<TransactionResponse>
    • Returns Promise<TransactionResponse>

getTransactionReceipt

getTransactionReceipt: () => Promise<TransactionReceipt>

Type declaration

    • (): Promise<TransactionReceipt>
    • Returns Promise<TransactionReceipt>

logIndex

logIndex: number

removeListener

removeListener: () => void

Type declaration

    • (): void
    • Returns void

removed

removed: boolean

topics

topics: Array<string>

transactionHash

transactionHash: string

transactionIndex

transactionIndex: number