Namespace: events
Functions​
getAbiEvents​
â–¸ getAbiEvents(abi
): AbiEvents
Parameters​
Name | Type |
---|---|
abi | Abi |
Returns​
Defined in​
parseEvents​
â–¸ parseEvents(providerReceivedEvents
, abiEvents
, abiStructs
, abiEnums
): ParsedEvents
Parse raw events and structure them into response object based on a contract structs and defined events
Parameters​
Name | Type | Description |
---|---|---|
providerReceivedEvents | Event [] | ProviderEvent[] - Array of raw events |
abiEvents | AbiEvents | AbiEvents - Events defined in the abi |
abiStructs | AbiStructs | AbiStructs - Structs defined in the abi |
abiEnums | AbiEnums | - |
Returns​
ParsedEvents - parsed events corresponding to the abi