Skip to main content
The gas_solana.fees table provides transaction-level fee data on Solana, including compute unit pricing and vote/non-vote transaction classification.

Table Schema

ColumnTypeDescription
blockchainVARCHARBlockchain (always solana)
block_monthDATEBlock month
block_dateDATEBlock date
block_timeTIMESTAMPBlock timestamp
block_slotBIGINTBlock slot number
tx_indexINTEGERTransaction index
tx_hashVARCHARTransaction hash
signerVARCHARTransaction signer address
compute_unit_priceDOUBLECompute unit price in lamports
compute_limitBIGINTCompute units used or limit set
currency_symbolVARCHARCurrency symbol (SOL)
tx_fee_rawBIGINTRaw transaction fee in lamports
tx_feeDOUBLETransaction fee in SOL
tx_fee_usdDOUBLETransaction fee in USD
tx_fee_breakdown_rawMAP(VARCHAR,DOUBLE)Fee breakdown (base_fee, prioritization_fee) in raw
tx_fee_breakdownMAP(VARCHAR,DOUBLE)Fee breakdown in SOL
tx_fee_breakdown_usdMAP(VARCHAR,DOUBLE)Fee breakdown in USD
tx_fee_currencyVARCHARFee currency address
leaderVARCHARValidator that proposed the block
tx_typeVARCHARTransaction type (vote or normal)

Table sample

Query performance

Filter on block_date. Use tx_type = 'normal' to exclude validator vote transactions from analysis.
-- ✅ Good: date filter, non-vote only
SELECT * FROM gas_solana.fees
WHERE block_date = CURRENT_DATE
  AND tx_type = 'normal'