Query editor
with airdrop_info as (select*from linea.logswhere contract_address = 0x87bAa1694381aE3eCaE2660d97fe60404080Eb64and topic0 = 0xd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a), claimed as (selectt1.block_time, t1.block_number, t1.tx_hash, t1.tx_from, t2.value / 1e18 as value, SUM(t2.value / 1e18) over (order byt1.block_time asc) as cumulative_claimedfrom airdrop_info as t1inner join erc20_linea.evt_transfer as t2 on t1.tx_hash = t2.evt_tx_hashwhere t1.block_time <= (selectMIN(block_time) + INTERVAL '48' HOURfrom airdrop_info))select*, CAST(9361298700 as DOUBLE) - cumulative_claimed as unclaimed, (cumulative_claimed / 9361298700) * 100 as percent_claimedfrom claimedorder byblock_time asc