> ## 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.

# Bridges

> Curated cross-chain bridge datasets across 41 EVM chains on Dune

Dune's bridge tables track cross-chain token transfers across 41 EVM chains, capturing deposit events on the source chain and withdrawal events on the destination chain, then matching them into complete bridge flows.

<Info>
  **Maintained by:** Dune · **Refresh:** \~30 min · **Chains:** 41 EVM chains
</Info>

<Card title="Get This Data" icon="database" href="https://dune.com/enterprise?dataset=bridges">
  Access bridge data via API, Datashare, or the Dune App.
</Card>

## Available Tables

<CardGroup cols={2}>
  <Card title="bridges_evms.flows" icon="database" href="/data-catalog/curated/bridges/flows">
    Matched deposit-withdrawal pairs showing complete bridge transfers
  </Card>

  <Card title="bridges_evms.deposits" icon="database" href="/data-catalog/curated/bridges/deposits">
    Individual deposit events on source chains
  </Card>

  <Card title="bridges_evms.withdrawals" icon="database" href="/data-catalog/curated/bridges/withdrawals">
    Individual withdrawal events on destination chains
  </Card>
</CardGroup>

## When to Use These Tables

* Track cross-chain capital flows between L1s and L2s
* Monitor bridge protocol volumes and market share
* Analyze net inflows/outflows for specific chains
* Identify bridge usage patterns for wallets or tokens
* Build cross-chain flow dashboards for chain ecosystem teams

## Coverage

<Accordion title="View all 41 supported chains">
  Abstract, Apechain, Arbitrum, Avalanche C-Chain, Base, Berachain, Blast, BNB Chain, Bob, Boba, Celo, Corn, Ethereum, Fantom, Flare, Gnosis, HyperEVM, Ink, Kaia, Katana, Lens, Linea, Mantle, Nova, opBNB, Optimism, Plasma, Plume, Polygon, Ronin, Scroll, Sei, Sonic, Sophon, Story, Taiko, Unichain, Worldchain, zkEVM, zkSync, Zora
</Accordion>

**Protocols:** All major bridge protocols with decoded contracts on Dune. Use `SELECT DISTINCT bridge_name FROM bridges_evms.deposits` for the current list.

## Query Performance

Filter on `block_date` or `block_time` ranges. For chain-specific analysis, also filter on `deposit_chain` or `withdrawal_chain`.

```sql theme={null}
-- ✅ Good: time-bounded with chain filter
SELECT * FROM bridges_evms.deposits
WHERE deposit_chain = 'ethereum'
  AND block_date >= DATE '2025-01-01'

-- ❌ Slow: unbounded scan
SELECT * FROM bridges_evms.flows
WHERE bridge_name = 'across'
```

## Methodology

Bridge tables are maintained by Dune ([source code](https://github.com/duneanalytics/spellbook)). The system works in three stages: (1) `deposits` decodes deposit events on source chains, enriched with token metadata and USD pricing; (2) `withdrawals` decodes withdrawal events on destination chains; (3) `flows` joins deposits and withdrawals on `bridge_transfer_id` to produce matched pairs representing complete cross-chain transfers.

Not all deposits have matching withdrawals (and vice versa), as matching depends on both chains being indexed and the bridge protocol emitting linkable identifiers.

## Example Queries

**Daily bridge volume by destination chain (last 30 days):**

```sql theme={null}
SELECT
  date_trunc('day', deposit_block_time) AS day,
  withdrawal_chain,
  SUM(amount_usd) AS bridge_volume_usd,
  COUNT(*) AS num_transfers
FROM bridges_evms.flows
WHERE deposit_block_time >= NOW() - INTERVAL '30' DAY
GROUP BY 1, 2
ORDER BY 1 DESC, 3 DESC
```

**Net flows for a specific chain:**

```sql theme={null}
WITH inflows AS (
  SELECT SUM(deposit_amount_usd) AS total_in
  FROM bridges_evms.deposits
  WHERE withdrawal_chain = 'base'
    AND block_date >= DATE '2025-01-01'
),
outflows AS (
  SELECT SUM(deposit_amount_usd) AS total_out
  FROM bridges_evms.deposits
  WHERE deposit_chain = 'base'
    AND block_date >= DATE '2025-01-01'
)
SELECT
  i.total_in,
  o.total_out,
  i.total_in - o.total_out AS net_flow
FROM inflows i, outflows o
```

## Related Tables

* `cex.flows` — For tracking flows to/from centralized exchanges
* `tokens.transfers` — Raw token transfer events (bridges are a subset of all transfers)

<CardGroup cols={2}>
  <Card title="Enterprise Data Solutions" icon="building" href="https://dune.com/enterprise">
    Need custom bridge datasets or additional chain coverage? Talk to our enterprise team.
  </Card>

  <Card title="Build Custom Models" icon="code" href="/api-reference/connectors/overview">
    Build private cross-chain flow pipelines with the dbt Connector.
  </Card>
</CardGroup>
