FluxRPC webhooks allow you to receive real-time notifications when specific blockchain events occur. Configure webhooks to monitor accounts, transactions, and program events.
GET /api/webhooks/:id
Retrieve details of a specific webhook configuration.
{
"id": "string",
"url": "https://your-server.com/webhook",
"events": ["accountChange", "transaction"],
"filters": {
"accounts": ["pubkey1", "pubkey2"],
"programs": ["programId"]
},
"active": true,
"created": "ISO date",
"lastTriggered": "ISO date"
}
POST /api/webhooks
Create a new webhook subscription.
PUT /api/webhooks/:id
Update an existing webhook configuration.
DELETE /api/webhooks/:id
Remove a webhook subscription.