Query editor
with table_1 as (select distinct account_owner from spl_token_solana.spl_token_call_mintTo where account_mint = '{{token_address}}'), table_2 as (selectdistinctaccount_mint lp_token_addressfrom spl_token_solana.spl_token_call_mintTowhere--call_tx_id = '5Us5eYDbfLCtmXUK9k9TyWrhrntrEwoopfAzhxRxN7yLz3wqSzmktafMNcyzGTUZ9W7MeAWFpx7oq5p1CVhWnesZ'--and account_account--andaccount_owner='5Q544fKrFoe6tsEbD7S8EmxGTJYAKtTVhAW5Q5pge4j1'and call_tx_signer = (select * from table_1)),table_3 as (selectcall_tx_id,call_tx_signer,amountfrom spl_token_solana.spl_token_call_mintTowhere account_mint = (select * from table_2))--4L8xRdkUjsMDqFWZ91zhQjSuRumoJw1F13sDL9V8noB56bMrBqiszoA4cELq2MPYgoDdjahUHdiixDRuua59779r remove liquidity tx,token_info as (SELECTa.call_tx_id AS tx,a.call_block_time,a.account_owner AS account_owner,b.symbol,b.decimals,a.amount/POWER(10, b.decimals) supplyFROM spl_token_solana.spl_token_call_mintTo ajoin (select token_mint_address,symbol,decimals from tokens_solana.fungible where token_mint_address ='{{token_address}}') b on a.account_mint = b.token_mint_addresswhere a.account_mint ='{{token_address}}'--OR account_owner /* token creator */ = '4tvoTsEZWebbzzJCigmatMCrp3LkWJZpQXHjNJH3AnE2'),initial_transfers_lvl_1 as (selecta.to_owner as to_ownerfrom tokens_solana.transfers ajoin token_info b on a.from_owner = b.account_ownerwherea.from_owner = (select account_owner from token_info )anda.token_mint_address = '{{token_address}}'and a.to_owner !='5Q544fKrFoe6tsEbD7S8EmxGTJYAKtTVhAW5Q5pge4j1' -- to raydium pull-- raydium adress 5Q544fKrFoe6tsEbD7S8EmxGTJYAKtTVhAW5Q5pge4j1),initial_transfers_lvl_2 as (selecta.to_owner as to_ownerfrom tokens_solana.transfers a