Query editor
with txs as (select*fromsolana.account_activitywhereblock_slot > 300109670and address = '12VFrc1dFynPzs4HBRdRoMKNm1jca2S2uhaNKCkdffwy'and signed = trueand balance_change < 0),prices as (select*fromprices.usd_dailywhereday > date '2024-11-01'and blockchain = 'solana'and symbol = 'SOL')select'solana' as chain,block_time,tx_id as tx_hash,null as ua_address,null as solana_ua_address,tx_success as success,balance_change / - 1e9 as gas_fee,coalesce(balance_change / - 1e9 * price, 0) as gas_fee_usdfromtxsleft join prices on date_trunc('day', block_time) - interval '1' day = day