HolonymZkPass - ZkProof Generation
    Updated 2025-02-03
    with eth_daily_price as (
    select
    hour::date as days,
    avg(price) as price_usd
    from ethereum.price.ez_prices_hourly
    where symbol = 'WETH'
    and hour::date > current_date - 180
    group by 1
    ),
    bnb_daily_price as (
    select
    hour::date as days,
    avg(price) as price_usd
    from bsc.price.ez_prices_hourly
    where token_address = '0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c'
    and blockchain = 'bsc'
    and hour::date > current_date - 180
    group by 1
    ),
    zkpass_arbitrum_transactions as (
    select
    'Arbitrum' as chain,
    tx_hash,
    block_timestamp,
    from_address as user_address,
    value,
    tx_fee
    from arbitrum.core.fact_transactions
    where origin_function_signature = '0xe492a8d5'
    and to_address = '0x574eafbd829ab00068958e0fac5468b644fbfa83'
    and status = 'SUCCESS'
    ),
    zkpass_arbitrum_transactions_with_price as (
    select
    zkpass.*,
    zkpass.value * price.price_usd as value_usd,
    Last run: 2 months ago
    ZkProof Generation
    1
    121608
    1
    10B
    283s