fantasold after their return
    Updated 2022-05-10
    select count(distinct unstake) from (select inner_instruction:instructions[1]:parsed:info:destination as unstake
    from solana.fact_events where inner_instruction:instructions[0]:parsed:type='transfer'
    and inner_instruction:instructions[1]:parsed:type='closeAccount' and program_id='EXpwP3pqPzA4arF8i89w7smtvxHzyYETmCpPspLPrR7J'
    and block_timestamp::date >= '2022-04-16'
    UNION

    select inner_instruction:instructions[3]:parsed:info:destination as unstake
    from solana.fact_events where inner_instruction:instructions[0]:parsed:type='transfer'
    and inner_instruction:instructions[1]:parsed:type='closeAccount' and program_id='EXpwP3pqPzA4arF8i89w7smtvxHzyYETmCpPspLPrR7J'
    and block_timestamp::date >= '2022-04-16'
    UNION

    select inner_instruction:instructions[5]:parsed:info:destination as unstake
    from solana.fact_events where inner_instruction:instructions[0]:parsed:type='transfer'
    and inner_instruction:instructions[1]:parsed:type='closeAccount' and program_id='EXpwP3pqPzA4arF8i89w7smtvxHzyYETmCpPspLPrR7J'
    and block_timestamp::date >= '2022-04-16'

    UNION

    select inner_instruction:instructions[7]:parsed:info:destination as unstake
    from solana.fact_events where inner_instruction:instructions[0]:parsed:type='transfer'
    and inner_instruction:instructions[1]:parsed:type='closeAccount' and program_id='EXpwP3pqPzA4arF8i89w7smtvxHzyYETmCpPspLPrR7J'
    and block_timestamp::date >= '2022-04-16'

    UNION

    select inner_instruction:instructions[9]:parsed:info:destination as unstake
    from solana.fact_events where inner_instruction:instructions[0]:parsed:type='transfer'
    and inner_instruction:instructions[1]:parsed:type='closeAccount' and program_id='EXpwP3pqPzA4arF8i89w7smtvxHzyYETmCpPspLPrR7J'
    and block_timestamp::date >= '2022-04-16'
    )
    Run a query to Download Data