ETH Tracker
ETH Tracker reads every block from a Gnosis node. It decodes events from the contracts it tracks and publishes them to the TRACKER stream in NATS JetStream. ETH Indexer, clc-core and clc-app-notifications consume that stream.
Events
Each event goes to the subject TRACKER.<transactionType>, such as TRACKER.TOKEN_TRANSFER. Its JetStream message ID is <transactionHash>:<index>, so JetStream drops a republished event.
json
{
"block": 40123456,
"contractAddress": "0x...",
"success": true,
"timestamp": 1763800000,
"transactionHash": "0x...",
"transactionType": "TOKEN_TRANSFER",
"payload": { "from": "0x...", "to": "0x...", "value": "1000000" },
"index": 12
}| Field | Notes |
|---|---|
success | false for a reverted transaction. The tracker decodes its calldata instead of a log. |
index | Log index. 0 for a reverted transaction. |
payload | Event fields. Amounts are decimal strings. Addresses are checksummed. |
NATS.md lists every subject and payload.
These pages follow ETH Tracker at 348ef41.