Find gaps, duplicates and ordering violations in an event sequence, per stream
Find gaps, duplicates and ordering violations in an event sequence, per stream. Partitioning matters: auditing a merged multi-stream batch as one sequence would report a gap at every interleave. Gaps are judged on sequence values and ordering on arrival order, because they are different questions. A non-integral sequence is reported as unchecked for contiguity rather than guessed at.
Answeringour last check, 2026-10-04
1 of 1checks answered this week
8677 msmedian answer time
$0.13listed price per call
$0.13price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://api.zfinia.com/x402/v1/event-sequence-integrity-audit
| Category | Code and developer |
|---|---|
| Provider host | api.zfinia.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-10-04 | valid payment request | 402 | $0.13 | 8677 ms |
Example input (from the provider)
{
"body": {
"events": [
{
"event_id": "evt-1",
"offset": 101,
"order_id": "o-1",
"schema_version": "2",
"stream": "orders-0",
"total": 42.5,
"type": "order.created"
},
{
"event_id": "evt-2",
"offset": 102,
"order_id": "o-2",
"schema_version": "2",
"stream": "orders-0",
"total": 19.99,
"type": "order.created"
},
{
"event_id": "evt-4",
"offset": 104,
"order_id": "o-4",
"schema_version": "2",
"stream": "orders-0",
"total": 7,
"type": "order.created"
},
{
"event_id": "evt-4",
"offset": 105,
"order_id": "o-4",
"schema_version": "2",
"stream": "orders-0",
"total": 7.5,
"type": "order.created"
},
{
"event_id": "evt-5",
"offset": 106,
"order_id": "o-5",
"schema_version": "1",
"stream": "orders-0",
"total": "12.00",
"type": "order.created"
},
{
"event_id": "evt-6",
"offset": 1,
"order_id": "o-1",
"reason": "customer",
"schema_version": "2",
"stream": "orders-1",
"type": "order.cancelled"
},
{
"offset": 2,
"order_id": "o-2",
"reason": "fraud",
"schema_version": "2",
"stream": "orders-1",
"type": "order.cancelled"
}
],
"partition_field": "stream",
"sequence_field": "offset"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"events": {
"items": {
"type": "object"
},
"maxItems": 2000,
"minItems": 1,
"type": "array"
},
"expect_contiguous": {
"type": "boolean"
},
"expect_increasing": {
"type": "boolean"
},
"partition_field": {
"maxLength": 256,
"type": "string"
},
"sequence_field": {
"maxLength": 256,
"type": "string"
}
},
"required": [
"events",
"sequence_field"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}