PT1H for 1 hour, P7D for 7 days).
count: Counts the number of transactions. Use Case: Detect rapid, repeated transactions.
sum: Calculates the sum of a numerical field. Use Case: Detect structuring or high-volume activity.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
PT1H for 1 hour, P7D for 7 days).
count: Counts the number of transactions. Use Case: Detect rapid, repeated transactions.
// Block if more than 5 transactions are made from the same source in 1 hour.
when
count(transaction_id, "PT1H", source == $current.source) > 5
sum: Calculates the sum of a numerical field. Use Case: Detect structuring or high-volume activity.
// Flag if the total amount sent from an account in 24 hours exceeds $50,000.
when
sum(amount, "P1D", source == $current.source) > 50000