RBudzynski commited on
Commit
ed14e1c
·
verified ·
1 Parent(s): e7edd2f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -65
README.md CHANGED
@@ -16,72 +16,12 @@ tags:
16
  pretty_name: BlockDB Liquidity Pools Fee Terms - Sample
17
  size_categories:
18
  - 10M<n<100M
 
 
19
  ---
20
 
21
- ## Sample Notice
22
 
23
- This dataset contains **a small sample** of the full BlockDB Liquidity Pools Fee Terms dataset.
24
- It is provided **for evaluation, research, and interoperability testing only**.
25
 
26
- If you need full historical coverage, real-time streaming, or end-of-day (EOD) exports
27
- please contact us directly:
28
-
29
- 📧 **support@blockdb.io**
30
- 🌐 https://www.blockdb.io
31
-
32
-
33
- ## Dataset Overview
34
- Versioned fee terms per liquidity pool. Each row represents a fee configuration change event, tracking total fee, user/LP fee, protocol fee, and extra fee fractions. Fee terms are non-overlapping per pool, enabling accurate historical fee reconstruction.
35
-
36
-
37
- ## Chains and Coverage
38
- ETH, BSC, Base, Arbitrum, Unichain, Avalanche, Polygon, Celo, Linea, Optimism (others on request).
39
- Full history from chain genesis; reorg-aware real-time ingestion and updates.
40
-
41
-
42
- ## Schema
43
- List of columns exactly as delivered:
44
-
45
- • pool_uid BYTEA – Unique pool identifier (FK to liquidity_pools)
46
- • exchange_id INTEGER – Exchange/DEX identifier
47
- • type_id INTEGER – Pool type identifier (FK to liquidity_pool_types)
48
- • block_number BIGINT – Block where the new fee term starts
49
- • block_time TIMESTAMPTZ – UTC timestamp when the block was mined
50
- • tx_index INTEGER – Transaction index within the block
51
- • log_index INTEGER – Log index within the block
52
- • total_fee NUMERIC(18,18) – Total fee fraction (e.g., 0.003 = 0.30%)
53
- • user_fee NUMERIC(18,18) – User/LP fee fraction (same units as total_fee)
54
- • protocol_fee NUMERIC(18,18) – Protocol fee fraction (same units as total_fee)
55
- • extra_fee NUMERIC(18,18) – Extra fee fraction (burn/staking/etc.)
56
- • _tracing_id BYTEA – Tracing ID of this fee terms record
57
- • _genesis_tracing_ids BYTEA[] – Tracing IDs of the genesis records leading to this record
58
- • _parent_tracing_ids BYTEA[] – Tracing IDs of the parent records leading to this record
59
- • _created_at TIMESTAMPTZ – Record creation timestamp
60
- • _updated_at TIMESTAMPTZ – Record last update timestamp
61
-
62
-
63
- ### Notes
64
- • Primary key: (pool_uid, block_number, tx_index, log_index) guarantees uniqueness per fee change event.
65
- • Fee fractions are between 0 and 1; user_fee + protocol_fee + extra_fee ≤ 1.
66
- • Indexes on (pool_uid, block_number DESC, tx_index DESC, log_index DESC), block_number, block_time, and total_fee support fast lookups.
67
-
68
-
69
- ## Lineage
70
- Each fee terms record includes deterministic _tracing_id, _genesis_tracing_ids, and _parent_tracing_ids, providing:
71
-
72
- • Provenance tracking from raw logs to decoded fee changes
73
- • Reproducible analytics and signal extraction
74
- • Cross-system consistency checks (RPC vs. indexers vs. internal warehouses)
75
-
76
-
77
- ## Common Use Cases
78
- • Historical fee reconstruction for swap cost analysis
79
- • DEX fee comparison and competitive analysis
80
- • Protocol revenue estimation and forecasting
81
- • Fee change event detection and alerting
82
-
83
-
84
- ## Quality
85
- • Verifiable lineage: deterministic cryptographic hashes per row
86
- • Reorg-aware ingestion: continuity and consistency across forks
87
- • Complete historical coverage: from chain genesis to present
 
16
  pretty_name: BlockDB Liquidity Pools Fee Terms - Sample
17
  size_categories:
18
  - 10M<n<100M
19
+ dataset_info:
20
+ homepage: https://docs.blockdb.io/data-catalog/evm/entities/liquidity-pools-fee-terms
21
  ---
22
 
23
+ *Small evaluation sample.*
24
 
25
+ **`0212`** · `blockdb_evm.b0212_liquidity_pools_fee_terms_v1` - Per-pool fee configuration (total fee + split between user/LP, protocol, and extra recipients).
 
26
 
27
+ **🌐 [BlockDB docs schema, API, WebSocket & signup](https://docs.blockdb.io/data-catalog/evm/entities/liquidity-pools-fee-terms)**