tkvresearchempty-aquamarine
    Updated 2025-02-10
    select chain,
    sum(tvl_usd) as tvl
    from
    (select *
    from external.defillama.fact_pool_yields
    where chain = 'Core'
    and
    date = current_date() - 1
    and
    symbol like '%BTC%'
    and
    symbol not like '%-%'
    union all
    select *
    from external.defillama.fact_pool_yields
    where chain = 'Bitlayer'
    and
    date = current_date() - 1
    and
    symbol like '%BTC%'
    and
    symbol not like '%-%'
    union all
    select *
    from external.defillama.fact_pool_yields
    where chain = 'Rootstock'
    and
    date = current_date() - 1
    and
    symbol like '%BTC%'
    and
    symbol not like '%-%'
    union all
    select *
    from external.defillama.fact_pool_yields
    where chain = 'Bsquared'
    Last run: 3 months ago
    CHAIN
    TVL
    1
    Core77834895
    2
    Rootstock3418888
    3
    Bitlayer37290
    4
    Bsquared25200
    4
    79B
    1s