📄️ Getting Started
Stream Rules provide real-time notifications for ledger events. Stream Rules work by applying user-created rules to every transaction. When a transaction matches a rule’s criteria, a notification is sent to a user-configured webhook destination. Notifications are typically sent within seconds of data hitting the ledger.
📄️ Create Rules
Stream Rules & events can be created and managed in two main ways:
📄️ Receiving Webhooks
For Stream Rules with webhook destinations, you will need to run a server capable of handling http(s) POST requests with content-type application/json.
📄️ Error Handling
For webhook notifications, Stream Rules will wait up to 18 seconds for a response from the configured web service. If Stream Rules does not receive a response or the response has a status code in the 400 or 500 levels, Stream Rules considers this an error and will retry this notification using a back-off strategy over the course of a 15 minute period. Once this period expires, the notification will be marked GaveUp and automatic retries will end. A failed notification can be retried manually using the Stream Rules API api/v1/rules//events//replay endpoint.
📄️ Troubleshooting
Hedera