Query editor
SELECTROW_NUMBER() OVER (ORDER BY SUM("fee" / TRY_CAST(1e9 AS DOUBLE)) DESC) AS "Rank",t.executing_account AS program,SUM("fee" / TRY_CAST(1e9 AS DOUBLE)) AS tx_fee,SUM("fee" / TRY_CAST(1e9 AS DOUBLE)) * (SELECT"price"FROM "prices"."usd"WHEREsymbol = 'SOL'ORDER BYminute DESCLIMIT 1) AS tx_fee_usdFROM "solana"."transactions",UNNEST("instructions") AS t(data, executing_account, account_arguments, inner_instructions)WHERE"block_date" > CURRENT_TIMESTAMP - INTERVAL '3' monthGROUP BYt.executing_accountORDER BYtx_fee DESCLIMIT 500