| sector | VARCHAR(16777216) | The fee sector this row belongs to (dex, lending, chain, liquid_staking, β¦). Every sector shares the same three fee layers; only the atomic grain and where fee info comes from change. |
| chain | VARCHAR(16777216) | Slug identifying the blockchain this record belongs to (e.g. ethereum, base, avalanche). In per-chain tables this is always the same value; in cross-chain tables it identifies the source chain. |
| project | VARCHAR(16777216) | Business name of the protocol being used (e.g. lido, rocket_pool). Consistent across verticals β every table with a project column uses this field for the top-level brand. |
| protocol | VARCHAR(16777216) | Specific version or variant of the protocol. Qualifies the project field with version information. |
| fee_type | VARCHAR(16777216) | Fee leg within the protocol, passed through from the upstream intermediate. Protocol-defined, so it varies by protocol rather than naming a product. |
| event_name | VARCHAR(16777216) | The protocol event that produced this row. |
| contract_address | VARCHAR(42) | Address of the smart contract that emitted this event or was called in this transaction. |
| fee_token_address | VARCHAR(42) | Contract address of the token the fee was charged in. |
| fee_amount | FLOAT | Fee charged in fee-token units, decimals-adjusted. |
| fee_usd | FLOAT | Fee charged in USD at the hourly token price. What stakers paid. |
| take_rate | FLOAT | Fraction of the fee accruing to the protocol, from the revenue registry. 0 is a confirmed zero protocol share (fee switch verified off), distinct from NULL, which means unconfirmed. |
| revenue_usd | FLOAT | Protocol revenue accrued on this row in USD: fee_usd x take_rate. NULL when the take rate is unconfirmed, never silently 0. |
| supply_side_usd | FLOAT | The supply sideβs share of the fee in USD (node operators and stakers for liquid staking): fee_usd minus revenue_usd. NULL when the take rate is unconfirmed. |
| fee_recipient | VARCHAR(42) | Address credited with the fee, where the protocolβs fee event names one. Null when the event does not name a recipient. |
| extra_fields | VARIANT | JSON object containing additional fields from the onchain event that are not part of the standard schema (e.g. nonce, fee metadata, protocol-specific parameters). |
| methodology | VARCHAR(16777216) | Slug of the fee derivation methodology, resolvable in crosschain.metrics.fees_coverage_and_methodology where the derivation and its citation are published. |
| transaction_hash | VARCHAR(66) | Hash of the transaction that produced this record. Uniquely identifies a transaction within the blockchain. |
| transaction_index | NUMBER(38,0) | Zero-based position of the transaction within its block. The first transaction in a block has index 0. |
| log_index | NUMBER(38,0) | Zero-based position of this event log within its transaction. The first log emitted by a transaction has index 0. |
| block_number | NUMBER(38,0) | Sequential number of the block that contains this record. Starts at 0 (genesis block) and increments by 1 for each new block. |
| block_timestamp | TIMESTAMP_NTZ(9) | Timestamp (UTC) of the block that contains this record. |
| unique_id | VARCHAR(16777216) | Alliumβs deterministic unique identifier for this row. Generated from the fields that uniquely identify the record (e.g. transaction hash + log index). Stable across full refreshes. |
| _created_at | TIMESTAMP_NTZ(9) | Timestamp of when the entry was created in the database. |
| _updated_at | TIMESTAMP_NTZ(9) | Timestamp of when the entry was last updated in the database. |