Webhooks API

FluxRPC webhooks allow you to receive real-time notifications when specific blockchain events occur. Configure webhooks to monitor accounts, transactions, and program events.

Get Webhook by ID

GET /api/webhooks/:id

Retrieve details of a specific webhook configuration.

Headers

Response

{
  "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"
}

Create Webhook

POST /api/webhooks

Create a new webhook subscription.

Update Webhook

PUT /api/webhooks/:id

Update an existing webhook configuration.

Delete Webhook

DELETE /api/webhooks/:id

Remove a webhook subscription.

Event Types

← Back to documentation