unsubscribe function you call to stop watching.
Watch New Cases
Subscribe toRefundRequested events — these are new refund requests that need your attention:
Watch Decisions
Subscribe toRefundRequestStatusUpdated events — these fire when a refund request is approved or denied:
Watch Freeze Events
Subscribe toPaymentFrozen and PaymentUnfrozen events from a Freeze condition contract:
Event Type Reference
| Method | Contract Event | Fires When |
|---|---|---|
watchNewCases | RefundRequested | A payer submits a new refund request |
watchDecisions | RefundRequestStatusUpdated | An arbiter or receiver approves/denies a request |
watchFreezeEvents | PaymentFrozen / PaymentUnfrozen | A payment is frozen or unfrozen |
Event Log Types
BothwatchNewCases and watchDecisions emit RefundRequestEventLog events:
watchFreezeEvents method emits FreezeEventLog events:
Next Steps
AI Integration
Automate case evaluation with AI hooks.
Arbiter Quickstart
Review the complete arbiter setup guide.
Batch Operations
Process multiple queued cases efficiently.
Client Subscriptions
See how clients subscribe to the same events.
