Skip to content

Latest commit

 

History

History
36 lines (21 loc) · 816 Bytes

GetChainEvents.Function.md

File metadata and controls

36 lines (21 loc) · 816 Bytes

Interface: Function<T>

GetChainEvents.Function

Represents a generic function to get events emitted on the chain.

Type parameters

Name Type
T extends ChainEvent

Callable

Function

Function(options?, ...filterArgs): Promise<T[]>

Get emitted events.

Parameters

Name Type Description
options? Options Options for getting events.
...filterArgs any[] Arguments for events filtering.

Returns

Promise<T[]>

Array of found events.

Defined in

src/lib/contracts/chain-event.ts:60