Query editor
WITH pumpdotfun_tokens AS (SELECTMIN(block_time) AS time,token_mint_addressFROM tokens_solana.transfersWHERE action = 'mint'AND outer_executing_account = '6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P'AND block_time >= TIMESTAMP '2025-02-06 00:00:00'GROUP BY token_mint_address),graduated_tokens AS (WITH withdraws AS (SELECTaccount_arguments[3] AS token_address,date_trunc('day', block_date) AS block_dayFROM solana.instruction_callsWHERE executing_account = '6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P'AND bytearray_substring(data, 1, 8) = 0xb712469c946da122AND tx_success = trueAND block_slot >= 266793916AND block_date >= TIMESTAMP '2025-02-06 00:00:00'UNIONSELECTaccount_arguments[2] AS token_address,date_trunc('day', block_date) AS block_dayFROM solana.instruction_callsWHERE executing_account = '6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P'AND bytearray_substring(data, 1, 8) = 0xb712469c946da122AND tx_success = trueAND block_slot < 266793916AND block_date >= TIMESTAMP '2025-02-06 00:00:00'UNIONSELECTaccount_arguments[3] AS token_address,date_trunc('day', block_date) AS block_dayFROM solana.instruction_callsWHERE executing_account = '6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P'AND bytearray_substring(data, 1, 8) = 0x9beae792ec9ea21eAND tx_success = trueAND block_date >= TIMESTAMP '2025-02-06 00:00:00')SELECTblock_day AS date_time,COUNT(DISTINCT token_address) AS daily_graduated_token_countFROM withdrawsGROUP BY block_day),daily_tokens AS (SELECTDATE_TRUNC('day', time) AS date_time,COUNT(*) AS daily_token_count,'Pumpdotfun' AS platformFROM pumpdotfun_tokensGROUP BY DATE_TRUNC('day', time)),final_data AS (SELECT