Concepts
Indexing model
How trust8004 combines fast webhook ingestion with durable RPC reconciliation.
Supported events enter one durable inbox regardless of transport:
Alchemy webhook ─┐
├─> chain_events ─> event normalizer ─> agents + feedback
RPC reconciler ──┘The unique on-chain position (chainId, transactionHash, logIndex) prevents duplicate outcomes when both sources discover the same event.
The reconciler checks recent blocks, historical ranges, and agent-ID coverage independently. Cursors advance only after the corresponding reads and writes succeed, so interrupted work resumes after deployment.
Event ordering
Ownership and metadata positions use block number and log index rather than server time. An old event cannot overwrite a newer state merely because it was processed later.