Blnk Watch is a lightweight, rule-based transaction monitoring engine. Watch evaluates transactions using rules written in a simple domain specific language (DSL) called WatchScriptDocumentation Index
Fetch the complete documentation index at: https://docs.blnkfinance.com/llms.txt
Use this file to discover all available pages before exploring further.
.ws.
Here’s how it works: you send transactions to Watch, and it returns a risk verdict, so you can enforce limits, detect fraud, and stay compliant without running heavy infrastructure.
In this quick start, you will:
- Start the Watch service
- Write a rule
- Send a transaction for evaluation
- See the risk decision
Install Blnk Watch
- Direct download
- Build from source
Install Watch with direct download (no repo or Go required), then start the service:
Create your first rule
Create a rules directory and add a rule file:Add this rule to This rule triggers for any USD transaction above $4,000.
HighValueUSD.ws:Send a transaction
Use the inject endpoint to send a transaction to Watch.If successful (200), Watch queues the transaction for evaluation.
Request
Response
Check the result
Fetch the processed transaction:You should see a response similar to:The verdict appears because the transaction amount, 5000 USD, triggered the rule.Try sending another transaction with a smaller amount, such as 3000 USD. Because it does not meet the rule condition, the rule will not trigger. You can also experiment with different amounts or currencies to see how the rule behaves.
Response