Expand description
§tiders-evm-schema
Pre-built Apache Arrow schemas and record batch builders for EVM blockchain data.
Provides [Schema] definitions and corresponding builder structs for the four
core EVM data tables:
- Blocks (
blocks_schema/BlocksBuilder) — Block headers including hash, gas, timestamps, withdrawals, and L1/L2-specific fields. - Transactions (
transactions_schema/TransactionsBuilder) — Full transaction data with receipt fields, access lists, and L1/L2 fee fields. - Logs (
logs_schema/LogsBuilder) — Event logs with topic0–topic3 and data columns. - Traces (
traces_schema/TracesBuilder) — Execution traces including call type, gas, value, and trace address.
Numeric fields that may exceed 64 bits (gas, value, timestamps) use
Decimal256(76, 0). Addresses and hashes are stored as Binary.
Structs§
- Access
List Builder - Builder for the nested access list within a transaction.
- Blocks
Builder - Builder for constructing an EVM blocks RecordBatch row-by-row.
- Logs
Builder - Builder for constructing an EVM logs RecordBatch row-by-row.
- Traces
Builder - Builder for constructing an EVM traces RecordBatch row-by-row.
- Transactions
Builder - Builder for constructing an EVM transactions RecordBatch row-by-row.
- Withdrawals
Builder - Builder for the nested withdrawals list within a block.
Functions§
- blocks_
schema - Returns the Arrow schema for EVM block data.
- logs_
schema - Returns the Arrow schema for EVM event log data.
- traces_
schema - Returns the Arrow schema for EVM execution trace data.
- transactions_
schema - Returns the Arrow schema for EVM transaction data (including receipt fields).