Query editor
-- Showdown money ledger. Programs: duel 8mDZB64Q…, tournament 3hdtHtAN… (mainnet).-- Escrow PDAs (config PDA owns the reserve/vault token accounts): duel 9jqoYdM5…, tournament CJW2NbNT….-- Duel native-SOL reserve (system account): C4FDoJhhXu6Qnu2Bmie4wn31XeLdJmXNcKnVyFu6TC2.-- escrow_account / platform_id: the duel or tournament account the outer instruction acts on and the-- platform UUID from its create instruction (bytes 9..24). Join platform_id to-- dune.kxnshwdwn.dataset_showdown_games for the game.WITH raw AS (SELECT block_date, tx_id, outer_instruction_index, tx_signer, data, account_arguments,to_hex(substr(data,1,8)) AS disc,CASE executing_account WHEN '8mDZB64QLrpKx3QDo6BFQFhRMxE7RtENBs49KqwBmgjX' THEN 'duel' ELSE 'tournament' END AS productFROM solana.instruction_callsWHERE block_date >= date '2026-08-01'AND executing_account IN ('8mDZB64QLrpKx3QDo6BFQFhRMxE7RtENBs49KqwBmgjX','3hdtHtANzqosgGRR3tRYzGS1G5GmHbcvU4Bvc98hdMdd')AND is_inner = false AND tx_success = true),ix AS (SELECT block_date, tx_id, outer_instruction_index, tx_signer, product, disc, data,CASE discWHEN '311C5D0B4BF245A5' THEN 'create_duel'WHEN '07F74C67658BFE3D' THEN 'join_duel'WHEN 'D5A2CBEB97ECB240' THEN 'resolve_duel'WHEN '3F5B4DC8CA71E348' THEN 'claim_duel_reward'WHEN 'D9254C340EB7FEB6' THEN 'withdraw_duel'WHEN '537CE0EDEB2C2639' THEN 'cancel_duel'WHEN '888485EA65A1C271' THEN 'file_report'WHEN '4E6B0371DE63B23B' THEN 'resolve_report'WHEN '9E89E9E74984BF44' THEN 'create_tournament'WHEN '4D15D4CE4D527C1F' THEN 'join_tournament'WHEN 'A4A8D09D2B0ADCF1' THEN 'start_tournament'WHEN 'CD1E950B6C7A780B' THEN 'finalize_tournament'WHEN '955FB5F25E5A9EA2' THEN 'claim_reward'WHEN '1B797F22AE4A1498' THEN 'refund_tournament'WHEN '5315FE337B8F1E7D' THEN 'refund_no_show'WHEN '37A2E8EE09594E73' THEN 'reclaim_sponsored_pool'WHEN '1A618ACB84AB8DFC' THEN 'claim_creator_fee'WHEN '56432F92F608A777' THEN 'cancel_no_contest'WHEN 'B422252E9C00D3EE' THEN 'withdraw_from_vault'WHEN '1950065C28A1E801' THEN 'withdraw_from_sol_vault'ELSE 'other' END AS ix_name,CASE discWHEN '311C5D0B4BF245A5' THEN account_arguments[5]WHEN '07F74C67658BFE3D' THEN account_arguments[5]WHEN 'D9254C340EB7FEB6' THEN account_arguments[5]WHEN 'D5A2CBEB97ECB240' THEN account_arguments[3]WHEN '537CE0EDEB2C2639' THEN account_arguments[3]WHEN '888485EA65A1C271' THEN account_arguments[3]WHEN '4E6B0371DE63B23B' THEN account_arguments[3]WHEN '3F5B4DC8CA71E348' THEN account_arguments[4]WHEN '9E89E9E74984BF44' THEN account_arguments[5]WHEN '4D15D4CE4D527C1F' THEN account_arguments[5]WHEN 'A4A8D09D2B0ADCF1' THEN account_arguments[3]WHEN 'CD1E950B6C7A780B' THEN account_arguments[3]WHEN '955FB5F25E5A9EA2' THEN account_arguments[4]WHEN '1B797F22AE4A1498' THEN account_arguments[4]WHEN '5315FE337B8F1E7D' THEN account_arguments[4]WHEN '37A2E8EE09594E73' THEN account_arguments[4]WHEN '1A618ACB84AB8DFC' THEN account_arguments[4]WHEN '56432F92F608A777' THEN account_arguments[4]END AS escrow_accountFROM raw