vnegi10 commited on
Commit
8f7ad51
·
1 Parent(s): 4d7c1cc

Update README

Browse files
Files changed (1) hide show
  1. README.md +24 -6
README.md CHANGED
@@ -31,19 +31,17 @@ cryo blocks_and_transactions --rpc https://rpc.ankr.com/eth/<YOUR_API_KEY>
31
  --requests-per-second 30 --output-dir your_dir
32
  ```
33
 
34
- ## Data coverage
35
 
36
- Latest time range:
37
 
38
  ```
39
- get_time_range()
40
-
41
  | min_timestamp | max_timestamp |
42
  | ------------- | ------------- |
43
  | 2016-11-17 00:40:08 | 2025-03-25 21:17:35 |
44
  ```
45
 
46
- ## Schema
47
 
48
  - blocks/\*parquet
49
  ```
@@ -82,7 +80,27 @@ Schema([('block_number', UInt32),
82
  ('chain_id', UInt64)])
83
  ```
84
 
85
- ## Transaction schema explained
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
86
 
87
  ```
88
  | Column | Type | Description |
 
31
  --requests-per-second 30 --output-dir your_dir
32
  ```
33
 
34
+ ## Time period
35
 
36
+ Blocks are between the following time range:
37
 
38
  ```
 
 
39
  | min_timestamp | max_timestamp |
40
  | ------------- | ------------- |
41
  | 2016-11-17 00:40:08 | 2025-03-25 21:17:35 |
42
  ```
43
 
44
+ ## Table schema
45
 
46
  - blocks/\*parquet
47
  ```
 
80
  ('chain_id', UInt64)])
81
  ```
82
 
83
+ - The blocks and transactions tables can be joined on the
84
+ `block_number` column
85
+
86
+ ## Schema explanation
87
+
88
+ ### Blocks
89
+
90
+ ```
91
+ | Column | Type | Description |
92
+ |---------------------|-----------|----------------------------------------------------------------------------------------------|
93
+ | `block_hash` | `Binary` | 32-byte Keccak-256 hash that uniquely identifies the block. |
94
+ | `author` | `Binary` | 20-byte Ethereum address of the block proposer (miner). |
95
+ | `block_number` | `UInt32` | Height of the block in the blockchain. |
96
+ | `gas_used` | `UInt64` | Total gas used by all transactions in the block. |
97
+ | `extra_data` | `Binary` | Optional miner-included metadata, often used for vanity tags or client identifiers. |
98
+ | `timestamp` | `UInt32` | Block's timestamp as a Unix epoch (seconds since 1970-01-01). |
99
+ | `base_fee_per_gas` | `UInt64` | Base gas fee in wei introduced by EIP-1559 (used to compute transaction fees). |
100
+ | `chain_id` | `UInt64` | Unique identifier for the Ethereum network or sidechain (e.g., `1` for mainnet, `137` for Polygon). |
101
+ ```
102
+
103
+ ### Transactions
104
 
105
  ```
106
  | Column | Type | Description |