Catalog · Oracle prices

Chainlink price data

BlockJuice loads Chainlink price feed rounds into a Postgres you run. Each row is one round of one feed on Ethereum, Arbitrum or Base: the answer the aggregator emitted, that answer scaled by the feed’s decimals into a price, and the round id the feed’s proxy reports.

Coverage

The source reads only the aggregators you list, so the table covers those aggregators, not every feed. price is in quote units, such as USD. answer is the raw integer, in the feed’s decimals. The seed transformation/seeds/chainlink_feeds.csv names each aggregator’s feed, proxy, phase, decimals and heartbeat.

EthereumArbitrumBase

Tables
01
Columns
17

Tables

One round of one Chainlink price feed: the answer scaled by the feed's decimals into a price in quote units, with the round id the feed's proxy reports. One row per round. Covers Chainlink feeds on Ethereum, Arbitrum and Base, for the aggregators you list.

The prices pipeline builds it from the stream source evm-chainlink-price-feeds and the seed transformation/seeds/chainlink_feeds.csv, which names each aggregator's feed, proxy, phase, decimals and heartbeat.

analytics.oracle_prices

GrainOne row per round.

chain
text
ethereum, arbitrum or base.
oracle
text
chainlink.
id
text
The log's place on its chain, <block>:<logIndex>. Unique with chain.
feed
text
The feed's name as its proxy describes it, such as ETH / USD.
token
text
The asset the feed prices, such as ETH.
quote
text
The asset the price is in, such as USD.
proxy
text
The address the feed is known by and that users read.
aggregator
text
The contract that stored the round and emitted its log.
round_id
numeric
The round's id as the proxy reports it.
price
numeric
The answer scaled by decimals, in quote units.
answer
numeric
The answer as the aggregator emitted it, an integer in the feed's decimals.
decimals
integer
How many decimals the feed's answer carries.
updated_at
timestamptz
When the aggregator stored the round.
block_number
bigint
The block the round's log was in.
block_timestamp
timestamptz
When that block was produced.
tx_hash
text
The transaction the log was in.
log_index
integer
The log's position in the block.

Query it

select updated_at, price, round_id, aggregator
from analytics.oracle_prices
where chain = 'ethereum' and feed = 'ETH / USD'
order by updated_at desc
limit 20

Each row is one round of the ETH / USD feed on Ethereum, newest first, with the price in USD.

select chain, feed, updated_at, price
from analytics.oracle_prices
where token = 'ETH' and quote = 'USD'
order by updated_at desc
limit 20

Each row is one round of an ETH feed priced in USD, on each chain where you list one.

Load it

The prices pipeline builds the table on this page.

uv run --project orchestration bj run prices
  1. List the wallets, tokens, feeds and contracts you follow in each source’s addresses.json.
  2. Build the tables with bj run <pipeline>, or turn on the pipeline’s schedule in Dagster to rebuild them each day at 06:00 UTC.
  3. Query the analytics schema in your Postgres with SQL, or ask in plain language with /bj <question>.