Comparison Operators
String Functions
Use these functions for string matching and manipulation.String Comparisons: All string comparisons are case-insensitive for addresses and hex values.
Array Methods
When working with arrays (tx.logs), use chained methods:
.any(condition)- Check if any element matches.count(condition)- Count elements matching condition
Examples
Combining Operators
Using with Arrays
Next Steps
Fields
Essential transaction fields
Array Methods
Working with logs, transfers, and approvals
Macros & Lists
Reusable conditions and address lists
Examples
Real-world detection rules