> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dune.com/llms.txt
> Use this file to discover all available pages before exploring further.

# gas_solana.fees

> Solana transaction fee data — compute units, priority fees, and fee payer details per transaction.

export const TableSample = ({tableName, tableSchema}) => <>
    <div className="hidden dark:block">
      <iframe src={`https://dune.com/embeds/3419983/5785629?table_schema_t6f0df=${tableSchema}&table_name_t6f0df=${tableName}&darkMode=true`} style={{
  width: '100%',
  height: '500px',
  border: 'none',
  marginTop: '10px'
}} />
    </div>
    <div className="dark:hidden">
      <iframe src={`https://dune.com/embeds/3419983/5785629?table_schema_t6f0df=${tableSchema}&table_name_t6f0df=${tableName}`} style={{
  width: '100%',
  height: '500px',
  border: 'none',
  marginTop: '10px'
}} />
    </div>
  </>;

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

## Table Schema

| Column | Type | Description |
| - | - | - |
| `blockchain` | `VARCHAR` | Blockchain (always solana) |
| `block_month` | `DATE` | Block month |
| `block_date` | `DATE` | Block date |
| `block_time` | `TIMESTAMP` | Block timestamp |
| `block_slot` | `BIGINT` | Block slot number |
| `tx_index` | `INTEGER` | Transaction index |
| `tx_hash` | `VARCHAR` | Transaction hash |
| `signer` | `VARCHAR` | Transaction signer address |
| `compute_unit_price` | `DOUBLE` | Compute unit price in lamports |
| `compute_limit` | `BIGINT` | Compute units used or limit set |
| `currency_symbol` | `VARCHAR` | Currency symbol (SOL) |
| `tx_fee_raw` | `BIGINT` | Raw transaction fee in lamports |
| `tx_fee` | `DOUBLE` | Transaction fee in SOL |
| `tx_fee_usd` | `DOUBLE` | Transaction fee in USD |
| `tx_fee_breakdown_raw` | `MAP(VARCHAR,DOUBLE)` | Fee breakdown (base\_fee, prioritization\_fee) in raw |
| `tx_fee_breakdown` | `MAP(VARCHAR,DOUBLE)` | Fee breakdown in SOL |
| `tx_fee_breakdown_usd` | `MAP(VARCHAR,DOUBLE)` | Fee breakdown in USD |
| `tx_fee_currency` | `VARCHAR` | Fee currency address |
| `leader` | `VARCHAR` | Validator that proposed the block |
| `tx_type` | `VARCHAR` | Transaction type (vote or normal) |

## Table sample

<TableSample tableSchema="gas_solana" tableName="fees" />

## Query performance

Filter on `block_date`. Use `tx_type = 'normal'` to exclude validator vote transactions from analysis.

```sql theme={null}
-- ✅ Good: date filter, non-vote only
SELECT * FROM gas_solana.fees
WHERE block_date = CURRENT_DATE
  AND tx_type = 'normal'
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.