Upload 5 files
Browse files
README.md
CHANGED
|
@@ -1,3 +1,85 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: cc-by-nc-4.0
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-nc-4.0
|
| 3 |
+
tags:
|
| 4 |
+
- ethereum
|
| 5 |
+
- evm
|
| 6 |
+
- blockchain
|
| 7 |
+
- cryptocurrency
|
| 8 |
+
- crypto
|
| 9 |
+
- onchain-data
|
| 10 |
+
- tabular
|
| 11 |
+
- timeseries
|
| 12 |
+
- datasets
|
| 13 |
+
- pandas
|
| 14 |
+
- polars
|
| 15 |
+
- duckdb
|
| 16 |
+
pretty_name: BlockDB Raw Function Results - Sample
|
| 17 |
+
size_categories:
|
| 18 |
+
- 10M<n<100M
|
| 19 |
+
---
|
| 20 |
+
|
| 21 |
+

|
| 22 |
+
|
| 23 |
+
## Sample Notice
|
| 24 |
+
|
| 25 |
+
This dataset contains **a small sample** of the full BlockDB Raw Function Results dataset.
|
| 26 |
+
It is provided **for evaluation, research, and interoperability testing only**.
|
| 27 |
+
|
| 28 |
+
If you need full historical coverage, real-time streaming, or end-of-day (EOD) exports
|
| 29 |
+
please contact us directly:
|
| 30 |
+
|
| 31 |
+
📧 **support@blockdb.io**
|
| 32 |
+
🌐 https://www.blockdb.io
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
## Dataset Overview
|
| 36 |
+
On-chain contract function call return values versioned by block. Each row records the raw output of a deterministic view function call at a specific block height, enabling time-travel queries over any contract's on-chain state. Uses a 26-byte contract_id (consistent with the contracts dataset) to correctly handle metamorphic contracts.
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
## Chains and Coverage
|
| 40 |
+
ETH, BSC, Base, Arbitrum, Unichain, Avalanche, Polygon, Celo, Linea, Optimism (others on request).
|
| 41 |
+
Full history from chain genesis; reorg-aware real-time ingestion and updates.
|
| 42 |
+
|
| 43 |
+
|
| 44 |
+
## Schema
|
| 45 |
+
List of columns exactly as delivered:
|
| 46 |
+
|
| 47 |
+
• contract_id BYTEA – Part of PK; 20 bytes (address) + 4 bytes (creation block BE) + 2 bytes (tx_index BE); links to b0121_contracts_v1
|
| 48 |
+
• block_number BIGINT – Part of PK; block at which the value was read
|
| 49 |
+
• block_time TIMESTAMPTZ – UTC timestamp when the block was mined
|
| 50 |
+
• call_data BYTEA – Part of PK; raw call data used to invoke the function
|
| 51 |
+
• signature_hash BYTEA – 4-byte selector (keccak256(signature)[0..3])
|
| 52 |
+
• result BYTEA – Raw return data from the function call (null if reverted)
|
| 53 |
+
• timestamp_utc TIMESTAMPTZ – UTC timestamp when the function call result was recorded
|
| 54 |
+
• _tracing_id BYTEA – Deterministic tracing ID of this function result record
|
| 55 |
+
• _created_at TIMESTAMPTZ – Record creation timestamp
|
| 56 |
+
• _updated_at TIMESTAMPTZ – Record last update timestamp
|
| 57 |
+
|
| 58 |
+
|
| 59 |
+
### Notes
|
| 60 |
+
• Primary key: (contract_id, block_number, call_data) enables point-in-time lookups per contract per call.
|
| 61 |
+
• result is raw ABI-encoded bytes; decode using the ABI for the matching signature_hash.
|
| 62 |
+
• NULL result indicates a reverted call at that block.
|
| 63 |
+
• Use encode(contract_id, 'hex') to convert binary values to hex.
|
| 64 |
+
|
| 65 |
+
|
| 66 |
+
## Lineage
|
| 67 |
+
Each function result record includes a deterministic _tracing_id, providing:
|
| 68 |
+
|
| 69 |
+
• Provenance tracking from raw RPC calls to versioned contract state snapshots
|
| 70 |
+
• Reproducible analytics and signal extraction
|
| 71 |
+
• Cross-system consistency checks (RPC vs. indexers vs. internal warehouses)
|
| 72 |
+
|
| 73 |
+
|
| 74 |
+
## Common Use Cases
|
| 75 |
+
• Historical state reconstruction and time-travel queries
|
| 76 |
+
• Token metadata and balance lookups at specific blocks
|
| 77 |
+
• Contract configuration and parameter tracking over time
|
| 78 |
+
• Price oracle and external data feed analysis
|
| 79 |
+
• Governance proposal and voting state tracking
|
| 80 |
+
|
| 81 |
+
|
| 82 |
+
## Quality
|
| 83 |
+
• Verifiable lineage: deterministic cryptographic hashes per row
|
| 84 |
+
• Reorg-aware ingestion: continuity and consistency across forks
|
| 85 |
+
• Complete historical coverage: from chain genesis to present
|
assets/banner.jpg
ADDED
|
Git LFS Details
|
data/blockdb0122_function_results_v1.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/blockdb0122_function_results_v1.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/blockdb0122_function_results_v1.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d63084a1816bcd6c2440631fbc270fad207a29c42ac4f0f11ff7507178580d11
|
| 3 |
+
size 43878
|