mmdrezastrategic-magenta
    Updated 2025-03-20
    -- forked from flyingfish / All bridges by Bridge @ https://flipsidecrypto.xyz/flyingfish/q/KgBj40aaWPtd/all-bridges-by-bridge

    with hyperlane_bridges as (
    select
    'Hyperlane' as bridge
    , date
    , volume_usd_in
    , volume_usd_out
    , tvl_usd
    , events_count
    from $query('19f93923-bf61-4c76-a496-194ee7e6d11f')
    )

    , canonical_bridges as (
    select
    'Canonical' as bridge
    , date
    , volume_usd_in
    , volume_usd_out
    , tvl_usd
    , events_count
    from $query('3b847d0f-cb54-439d-90d7-a6c81442058c')
    group by all
    )

    , aggregated as (
    select
    date
    , zeroifnull(a.volume_usd_in) + zeroifnull(b.volume_usd_in) as volume_in
    , zeroifnull(a.volume_usd_out) + zeroifnull(b.volume_usd_out) as volume_out
    , sum(volume_in) over (order by date) as total_volume_in
    , sum(volume_out) over (order by date) as total_volume_out
    , total_volume_in - total_volume_out as total_gross_volume
    , a.tvl_usd + b.tvl_usd as total_bridge_tvl
    , zeroifnull(a.events_count) + zeroifnull(b.events_count) as counter
    , sum(counter) over (order by date) as total_bridges
    Last run: 3 months ago
    DATE
    VOLUME_IN
    VOLUME_OUT
    TOTAL_VOLUME_IN
    TOTAL_VOLUME_OUT
    TOTAL_GROSS_VOLUME
    TOTAL_BRIDGE_TVL
    COUNTER
    TOTAL_BRIDGES
    AVG_USD_BRIDGE_SIZE
    1
    2025-03-19 00:00:00.0002319959.97571074-1826312.09720121474524770.599224-245674298.454558720199069.053782155715206.9410712210765450940.88323085
    2
    2025-03-18 00:00:00.0001755821.30546822-1211250.35138445472204810.623513-243847986.357357716052796.98087147746398.2873362090763240938.175144097
    3
    2025-03-17 00:00:00.0001138752.72359166-883592.75952451470448989.318045-242636736.005972713085725.324017148995248.1313892125761150936.853084575
    4
    2025-03-16 00:00:00.0001203756.10990989-1075161.84860194469310236.594454-241753143.246448711063379.840901146635875.7570922155759025936.811540912
    5
    2025-03-15 00:00:00.0002016077.9242798-1295993.12388461468106480.484544-240677981.397846708784461.882389149626202.9755681703756870936.467903183
    6
    2025-03-14 00:00:00.0001891744.21637615-1608437.46776968466090402.560264-239381988.273961705472390.834225147289709.513732151755167934.193881399
    7
    2025-03-13 00:00:00.0001859223.95106463-1611045.3915086464198658.343888-237773550.806191701972209.150079142772280.7469512141753016932.214201491
    8
    2025-03-12 00:00:00.0002090315.43488949-2283587.95704093462339434.392823-236162505.414683698501939.807506144851128.5605252482750875930.250627345
    9
    2025-03-11 00:00:00.0001536456.90152306-1533116.93665591460249118.957934-233878917.457642694128036.415576146880155.3593872085748393927.491353361
    10
    2025-03-10 00:00:00.0001546170.08264698-1374273.73010495458712662.05641-232345800.520986691058462.577397147634350.3504882154746308925.96952274
    11
    2025-03-09 00:00:00.0001470583.65977961-1337338.94846261457166491.973764-230971526.790881688138018.764645155997638.036972414744154924.725283698
    12
    2025-03-08 00:00:00.0002353930.18150867-2087568.55621559455695908.313984-229634187.842418685330096.156402164327129.66332265741740923.94922231
    13
    2025-03-07 00:00:00.0002345732.31673465-1767059.2191035453341978.132475-227546619.286203680888597.418678161676243.6548632733739475920.77297734
    14
    2025-03-06 00:00:00.0002560767.55612134-2137107.27141617450996245.815741-225779560.067099676775805.88284165907517.7355292876736742918.606250062
    15
    2025-03-05 00:00:00.0002807894.17055873-1990190.84771415448435478.259619-223642452.795683672077931.055302164985077.6690932332733866915.804698753
    16
    2025-03-04 00:00:00.0002227338.28168271-2240511.97263703445627584.08906-221652261.947969667279846.03703160891084.0793722043731534912.165184444
    17
    2025-03-03 00:00:00.0001911503.93601133-1630033.94658538443400245.807378-219411749.975332662811995.78271164926806.6523442579729491908.595165372
    18
    2025-03-02 00:00:00.0002801469.87247075-2295870.94803374441488741.871366-217781716.028747659270457.900113178552066.1240193471726912906.946725188
    19
    2025-03-01 00:00:00.0001860845.60952631-1034265.75557609438687271.998896-215485845.080713654173117.079609164610350.483282289723441904.252201741
    20
    2025-02-28 00:00:00.0001884077.70901079-1643134.15287866436826426.389369-214451579.325137651278005.714506162855019.4633992553721152903.107813213
    ...
    207
    30KB
    2s