You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
3.**DecodingFunction**: Theactualdecodingfunction, it has 3 arguments passed to it:
55
78
1. `log_event`: The raw log event that is being decoded.
56
79
2. `tx`: The transaction object that generated this log.
57
80
3. `chain_name`: Network to which the log belongs to.
58
81
4. `covalent_client`: The covalent client created with your covalent API key.
59
82
60
-
3.`decode`: Thefunction that chooses which decoding function needs to be called for which log event. It collects all the decoded events for a transaction and returns them in an array of structured data. It is run when the API server receives a request.
83
+
4.`decode`: Thefunction that chooses which decoding function needs to be called for which log event. It collects all the decoded events for a transaction and returns them in an array of structured data. It is run when the API server receives a request.
0 commit comments