Ethereum data
BlockJuice loads Ethereum data into a Postgres you run. It reads balances, ERC-20 transfers, Uniswap swaps, Chainlink rounds, wallet transactions, contract deployments and CoW ETH Flow orders. dbt builds them into tables you query with SQL.
Coverage
Every source but one reads only the wallets, tokens, feeds and contracts you list, so its tables cover the addresses you follow, not the whole chain. The deployments source reads no list and loads every contract creation from the block it starts at. Transfer classification needs labels, and labels cover Arbitrum and Base only.
- Modules
- 08
- Tables
- 13
- Columns
- 109
Balances
Each wallet's latest balance of each asset, in the asset's base units: wei, lamports, satoshis or token units. One row per chain, wallet and asset. Covers ETH and ERC-20 on Ethereum, SOL and SPL on Solana, and BTC on Bitcoin.
- analytics.latest_balancesOne row per chain, wallet and asset.6 columns
uv run --project orchestration bj run balancesTransfers
Every ERC-20 transfer of the tokens you list, or only those into or out of your wallets. One row per Transfer log, in the token's base units. classified_transfers adds what kind of address each side is and sorts the transfer into a category: bridge, exchange, contract, p2p or unknown. Covers Ethereum, Arbitrum and Base. Classification reads labels, which cover Arbitrum and Base.
- analytics.erc20_transfers10 columns
- analytics.classified_transfers19 columns
- analytics.labelled_wallet_flowsOne row per value movement that touches a wallet in
seeds/, seen from the labelled entity's side.10 columnswallet_labels
uv run --project orchestration bj run transfersDEX trades
One Uniswap swap: the token the swapper received and the token they paid, in each token's base units, with no decimals or prices applied. One row per Swap log. Covers Uniswap v2, v3 and v4 on Ethereum, for the pools that trade the tokens you list.
- analytics.dex_tradesOne row per Swap log.17 columns
uv run --project orchestration bj run dexTokens
Each listed token's latest name, symbol and decimals. One row per chain and token. Symbols repeat, so key on chain and token. A null decimals means the contract has none, so never assume 18. Covers ERC-20 tokens on Ethereum, Arbitrum and Base.
- analytics.tokensOne row per chain and token.6 columns
uv run --project orchestration bj run tokensOracle prices
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.
- analytics.oracle_pricesOne row per round.17 columns
uv run --project orchestration bj run pricesAccounts
The wallets you follow on Ethereum. wallet_transactions holds each top-level transaction sent from or to them, in wei; internal transfers, which only traces show, are not here. wallet_eth_outflows takes each successful one with value and gives it one class: sold (a CoW Protocol ETH Flow order that settled into a stablecoin back to the sender), sent_to_exchange (to an address in seeds/) or sent_out. account_states holds each address's balance, nonce and code at the blocks a source read it. address_attributions lists the addresses a public body ties to an incident, from seeds/.
- analytics.wallet_transactions
- analytics.wallet_eth_outflows
- analytics.account_states
- analytics.address_attributions
uv run --project orchestration bj run accountsDeployments
One contract-deployment transaction per row on Ethereum: a successful transaction with at least one create or create2 that stood. state_gas is the EIP-8037 state gas its creates and new storage slots would cost, as a lower bound, and rule_version names the rule. The deployments pipeline builds it from the source evm-contract-deployments.
- analytics.deployment_state_gas7 columns
uv run --project orchestration bj run deploymentsCoW ETH Flow
One CoW Protocol ETH Flow order placed by a wallet you follow on Ethereum, with the settlement that filled it when one did. Amounts are in token base units; the ETH sent is in wei. An order is settled when a later GPv2Settlement Trade carries its UID. An order with no such Trade may be open, expired, refunded or invalidated; this table does not tell them apart. The cow pipeline builds it from the source evm-cow-ethflow.
- analytics.cow_ethflow_orders7 columns
uv run --project orchestration bj run cowQuery it
select block_timestamp, pool, token_bought, amount_bought, token_sold, amount_sold
from analytics.dex_trades
where chain = 'ethereum' and version = 'v3'
order by block_timestamp desc
limit 20Each row is one Uniswap v3 swap, with amounts in each token’s base units.
Load it
- List the wallets, tokens, feeds and contracts you follow in each source’s addresses.json. Deployments needs no list. It loads every contract creation from the block it starts at.
- 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. - Query the analytics schema in your Postgres with SQL, or ask in plain language with /bj <question>.