Creating a Monitor
This guide explains how to create and configure a monitor for real-time blockchain event monitoring using Crypitor's API and curl commands.
Step 1: Create a Monitor
curl -X 'POST' \
'http://localhost:3000/monitor' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"projectId": "DefaultProject",
"network": "Ethereum",
"condition": {
"native": true,
"internal": false,
"erc721": true,
"erc20": true,
"specific": false,
"cryptos": {
"0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174": true
}
},
"notification": {
"method": "Webhook",
"url": "https://example.com",
"authorization": "Basic dGVzdHVzZXJuYW1lOnRlc3RwYXNzd29yZA==",
"secretToken": ""
},
"type": "all",
"note": "My crypitor monitoring",
"tags": [
"Hello",
"Crypitor"
],
"name": "My First Monitor"
}'
Step 2: Add an Address to the Monitor
Last updated