The subscription object
| Attribute | Type | Description |
|---|---|---|
id | string | Unique subscription id. |
projectId | string | Project that owns the subscription. |
network | string | One of ATC, BSC, ETH, BASE, POL, SOL, LISK. |
contractAddress | string | Contract being watched. |
webhookUrl | string | HTTPS URL events are delivered to. |
events | string[] | Subscribed catalog keys (e.g. transfer, mint). |
status | string | active, paused, or deleted. |
createdBy | string | Actor that created the subscription. |
createdAt | string | ISO 8601 UTC timestamp. |
updatedAt | string | ISO 8601 UTC timestamp. |
lastDeliveryAt | string | null | Last successful delivery, or null. |
deliveredCount | integer | Successful deliveries to date. |
failedCount | integer | Failed deliveries to date. |
signingSecret | string | HMAC signing secret — returned only on create and rotate. |
The delivery log object
| Attribute | Type | Description |
|---|---|---|
id | string | Unique log id. |
projectId | string | Owning project. |
subscriptionId | string | Subscription the delivery belongs to. |
network | string | Source network. |
contractAddress | string | Contract that emitted the event. |
eventType | string | Catalog key (e.g. transfer). |
eventId | string | Unique event id (txHash:logIndex). |
transactionHash | string | Source transaction hash. |
webhookUrl | string | URL the delivery was sent to. |
status | string | delivered or failed. |
httpStatus | integer | HTTP status returned by your endpoint. |
error | string | null | Failure reason, or null. |
isReplay | boolean | Whether this was a replayed delivery. |
replayOf | string | null | Original log id, if a replay. |
payload | object | The decoded event payload that was delivered. |
createdAt | string | ISO 8601 UTC timestamp. |
updatedAt | string | ISO 8601 UTC timestamp. |
