Skip to main content
5 tables in this category.

Tables

  • agent.arbitrum_prices_day
  • agent.base_prices_day
  • agent.ethereum_erc20
  • agent.ethereum_prices_day

Sample Queries

1. Largest USDC transfers today

Table Schemas

agent.ethereum_transfers

ERC-20 Transfer events plus native token (ETH/BNB/TRX) trace-based transfers. Includes WETH wrap/unwrap. Enriched with tx_from, tx_to, tx_index from transaction lookup. One row per transfer event or trace. Engine: MergeTree | Partition: toYYYYMM(block_date) | ORDER BY: contract_address, block_number, tx_hash, evt_index
  • These tables are VERY large (billions of rows) — always filter on block_date first
  • token_standard is ‘erc20’ or ‘native’ — filter accordingly
  • amount_raw is uint256 before decimal adjustment — divide by 10^decimals for human-readable amounts
  • JOIN with ethereum_erc20 on contract_address for symbol and decimals
  • For net flows: SUM(amount_raw) WHERE to=addr minus SUM(amount_raw) WHERE from=addr
  • No USD amounts — join with prices tables for valuation
  • Native transfers from trace data may include internal contract-to-contract transfers
  • Does not include ERC-721 (NFT) or ERC-1155 (multi-token) transfers
  • amount_raw is raw — you must know the token’s decimals to interpret correctly

agent.base_transfers

ERC-20 Transfer events plus native token (ETH/BNB/TRX) trace-based transfers. Includes WETH wrap/unwrap. Enriched with tx_from, tx_to, tx_index from transaction lookup. One row per transfer event or trace. Engine: MergeTree | Partition: toYYYYMM(block_date) | ORDER BY: contract_address, block_number, tx_hash, evt_index
  • This table has 7.5B+ rows — ALWAYS use tight block_date filters
  • token_standard is ‘erc20’ or ‘native’ — filter accordingly
  • amount_raw is uint256 before decimal adjustment — divide by 10^decimals
  • Base native token is ETH (bridged), same decimals as Ethereum ETH
  • No USD amounts — join with prices tables for valuation
  • Native transfers from trace data may include internal contract-to-contract transfers
  • Does not include ERC-721 (NFT) or ERC-1155 (multi-token) transfers
  • amount_raw is raw — you must know the token’s decimals to interpret correctly

agent.arbitrum_transfers

ERC-20 Transfer events plus native token (ETH/BNB/TRX) trace-based transfers. Includes WETH wrap/unwrap. Enriched with tx_from, tx_to, tx_index from transaction lookup. One row per transfer event or trace. Engine: MergeTree | Partition: toYYYYMM(block_date) | ORDER BY: contract_address, block_number, tx_hash, evt_index
  • These tables are VERY large (billions of rows) — always filter on block_date first
  • token_standard is ‘erc20’ or ‘native’ — filter accordingly
  • amount_raw is uint256 before decimal adjustment — divide by 10^decimals for human-readable amounts
  • JOIN with ethereum_erc20 on contract_address for symbol and decimals
  • For net flows: SUM(amount_raw) WHERE to=addr minus SUM(amount_raw) WHERE from=addr
  • No USD amounts — join with prices tables for valuation
  • Native transfers from trace data may include internal contract-to-contract transfers
  • Does not include ERC-721 (NFT) or ERC-1155 (multi-token) transfers
  • amount_raw is raw — you must know the token’s decimals to interpret correctly

agent.bsc_transfers

ERC-20 Transfer events plus native token (ETH/BNB/TRX) trace-based transfers. Includes WETH wrap/unwrap. Enriched with tx_from, tx_to, tx_index from transaction lookup. One row per transfer event or trace.
  • BSC transfer tables can be very large — always filter on block_date first
  • Native token is BNB, not ETH — 18 decimals
  • amount_raw is uint256 before decimal adjustment
  • No USD amounts — join with prices tables for valuation
  • Native transfers from trace data may include internal contract-to-contract transfers
  • Does not include ERC-721 (NFT) or ERC-1155 (multi-token) transfers
  • amount_raw is raw — you must know the token’s decimals to interpret correctly

agent.tron_transfers

ERC-20 Transfer events plus native token (ETH/BNB/TRX) trace-based transfers. Includes WETH wrap/unwrap. Enriched with tx_from, tx_to, tx_index from transaction lookup. One row per transfer event or trace. Engine: MergeTree | Partition: toYYYYMM(block_date) | ORDER BY: contract_address, block_number, tx_hash, evt_index
  • 4.6B rows — ALWAYS filter on block_date
  • Tron addresses use base58 format (T…) not hex
  • Native token is TRX (6 decimals for energy, but TRX transfers use sun = 1e-6)
  • USDT on Tron is extremely high volume — can dominate results if not filtered
  • No USD amounts — join with prices tables for valuation
  • Native transfers from trace data may include internal contract-to-contract transfers
  • Does not include ERC-721 (NFT) or ERC-1155 (multi-token) transfers
  • amount_raw is raw — you must know the token’s decimals to interpret correctly