Skip to content

ETH Indexer ​

ETH Indexer reads the TRACKER stream that ETH Tracker publishes, and writes the events to PostgreSQL. It reads token and pool names from the chain as new contracts appear.

Tables ​

Every event row links to a tx row through tx_id.

TableHoldsSource subject
txTransaction hash, block number, block time (UTC), successAll
token_transferVoucher transfersTOKEN_TRANSFER, TOKEN_TRANSFER_FROM
token_mintMintsTOKEN_MINT
token_burnBurnsTOKEN_BURN
pool_swapPool swapsPOOL_SWAP
pool_depositPool depositsPOOL_DEPOSIT
faucet_giveFaucet payoutsFAUCET_GIVE
ownership_changeContract ownership transfersOWNERSHIP_TRANSFERRED
tokensVoucher name, symbol, decimals, sink addressRead from the chain
poolsPool name and symbolRead from the chain

Amounts are stored as NUMERIC in the token's smallest unit. log_index is the log's position in the block, and 0 for a reverted transaction.

The indexer serves Go runtime metrics on /metrics. It does not publish anything.

These pages follow ETH Indexer at de07cc4.