RBudzynski commited on
Commit
0d0a8eb
·
verified ·
1 Parent(s): f4d2d49

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -63
README.md CHANGED
@@ -16,70 +16,12 @@ tags:
16
  pretty_name: BlockDB Raw Function Results - Sample
17
  size_categories:
18
  - 10M<n<100M
 
 
19
  ---
20
 
21
- ![BlockDB Banner](./assets/banner.jpg)
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
 
16
  pretty_name: BlockDB Raw Function Results - Sample
17
  size_categories:
18
  - 10M<n<100M
19
+ dataset_info:
20
+ homepage: https://docs.blockdb.io/data-catalog/evm/primitives/function-results
21
  ---
22
 
23
+ *Small evaluation sample.*
24
 
25
+ **`0122`** · `blockdb_evm.b0122_function_results_v1` - On-chain function call return values versioned by block. Uses `contract_id` (26 bytes) to support metamorphic contracts; primary key is `(contract_id, block_number, call_data)`.
26
 
27
+ **🌐 [BlockDB docs schema, API, WebSocket & signup](https://docs.blockdb.io/data-catalog/evm/primitives/function-results)**