Home > eth-connect > SolidityEvent > decode
Should be used to decode indexed params and options
Signature:
decode(data: LogObject): LogObject & {
event: string;
address: string;
args: Record<string, any>;
};
Parameter | Type | Description |
---|---|---|
data | LogObject |
Returns:
LogObject & { event: string; address: string; args: Record<string, any>; }