| | --- |
| | license: cc-by-nc-4.0 |
| | tags: |
| | - ethereum |
| | - evm |
| | - blockchain |
| | - cryptocurrency |
| | - crypto |
| | - onchain-data |
| | - tabular |
| | - timeseries |
| | - datasets |
| | - pandas |
| | - polars |
| | - duckdb |
| | pretty_name: BlockDB Token Transfers - Sample |
| | size_categories: |
| | - 10M<n<100M |
| | --- |
| | |
| |  |
| |
|
| | ## Sample Notice |
| |
|
| | This dataset contains **a small sample** of the full BlockDB Token Transfers dataset. |
| | It is provided **for evaluation, research, and interoperability testing only**. |
| |
|
| | If you need full historical coverage, real-time streaming, or end-of-day (EOD) exports |
| | please contact us directly: |
| |
|
| | π§ **support@blockdb.io** |
| | π https://www.blockdb.io |
| |
|
| |
|
| | ## Dataset Overview |
| | Unified token transfer table covering all transfer types in a single normalized schema. Each row represents one transfer event sourced from transactions, internal transactions, or transfer logs β covering native ETH, ERC-20, ERC-721, and ERC-1155 transfers. Only transfers for identified contract addresses are included. |
| |
|
| | Every transfer record includes deterministic tracing IDs that link the record to its genesis event and upstream sources, enabling full provenance tracking for downstream analytics. |
| |
|
| |
|
| | ## Chains and Coverage |
| | ETH, BSC, Base, Arbitrum, Unichain, Avalanche, Polygon, Celo, Linea, Optimism (others on request). |
| | Full history from chain genesis; reorg-aware real-time ingestion and updates. |
| |
|
| |
|
| | ## Schema |
| | List of columns exactly as delivered: |
| |
|
| | β’ id BIGINT β Surrogate primary key (auto-generated) |
| | β’ block_number BIGINT β Block where the transfer occurred |
| | β’ block_time TIMESTAMPTZ β UTC timestamp when the block was mined |
| | β’ tx_index INTEGER β Transaction index within the block |
| | β’ log_index INTEGER β Log index within the transaction receipt; null for native or internal tx transfers |
| | β’ trace_address TEXT β Trace address for internal tx transfers (e.g., "0", "0.1"); null for other types |
| | β’ from_address BYTEA β Sender address (20 bytes) |
| | β’ to_address BYTEA β Recipient address (20 bytes) |
| | β’ token_address BYTEA β Token contract address (20 bytes); null for native ETH transfers |
| | β’ amount_raw NUMERIC(78,0) β Raw amount in smallest unit (wei for native, raw uint256 for ERC-20/1155) |
| | β’ amount_adj TEXT β Decimal-adjusted amount; null if decimals unknown or NFT |
| | β’ token_id NUMERIC(78,0) β Token ID for ERC-721 and ERC-1155; null for native/ERC-20 |
| | β’ transfer_type TEXT β Transfer type: native_tx, native_internal, erc20, erc721, erc1155 |
| | β’ _tracing_id BYTEA β Tracing ID of this transfer record |
| | β’ _parent_tracing_ids BYTEA[] β Tracing IDs of the parent records leading to this transfer record |
| | β’ _created_at TIMESTAMPTZ β Record creation timestamp |
| | β’ _updated_at TIMESTAMPTZ β Record last update timestamp |
| | |
| |
|
| | ### Notes |
| | β’ transfer_type distinguishes native ETH from top-level transactions (native_tx) vs. internal calls (native_internal). |
| | β’ amount_adj is null for NFTs (ERC-721) and when token decimals cannot be determined. |
| | β’ FK: (block_number, tx_index) β blockdb_evm.b0102_transactions_v1. |
| | β’ Binary values can be rendered as hex via encode(column, 'hex') in SQL. |
| | |
| |
|
| | ## Lineage |
| | Each transfer record includes deterministic _tracing_id and _parent_tracing_ids, providing: |
| | |
| | β’ Provenance tracking from raw transactions, internal calls, and logs to normalized transfer events |
| | β’ Reproducible analytics and signal extraction |
| | β’ Cross-system consistency checks (RPC vs. indexers vs. internal warehouses) |
| | |
| | |
| | ## Common Use Cases |
| | β’ Wallet balance and flow analytics across all token standards |
| | β’ Token movement and holder tracking |
| | β’ Compliance and attribution (native + ERC-20/721/1155 in one table) |
| | β’ MEV and arbitrage flow reconstruction |
| | β’ Portfolio tracking and tax reporting |
| | |
| | |
| | ## Quality |
| | β’ Verifiable lineage: deterministic cryptographic hashes per row |
| | β’ Reorg-aware ingestion: continuity and consistency across forks |
| | β’ Complete historical coverage: from chain genesis to present |
| | |