Quick Start Guide
Monitor Quick Start
Get up and running with FailSafe Monitor in minutes. Follow this guide to set up your first monitoring bot and start protecting your blockchain applications.
Prerequisites
Before starting, make sure you have an account at www.monitor.getfailsafe.com and your API key ready.
Step 1: Authentication
First, you'll need to authenticate with the FailSafe Monitor API using your API key.
curl -H "Authorization: Bearer YOUR_API_KEY" \
https://api.monitor.getfailsafe.com/v1/auth/verify
Step 2: Create Your First Monitor
Create a monitoring bot to watch for specific blockchain events and transactions.
curl -X POST https://api.monitor.getfailsafe.com/v1/monitors \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "My First Monitor",
"description": "Monitor for suspicious transactions",
"chain": "ethereum",
"expression": "transaction.value > 1000000000000000000"
}'
Step 3: Activate Your Monitor
Once created, activate your monitor to start real-time monitoring.
curl -X POST https://api.monitor.getfailsafe.com/v1/monitors/{monitor_id}/activate \
-H "Authorization: Bearer YOUR_API_KEY"
Next Steps
Learn Expression Language
Master the powerful expression language to create sophisticated monitoring rules.
Explore API
Dive deeper into the complete API reference and advanced features.