NOTES - Old Txs
Credits: TheLaughingMan#3062


Last updated
Credits: TheLaughingMan#3062


Last updated
-- GET TINYMMAN groups
with tinyman_txns as (
SELECT tx_group_id, sender
from algorand.application_call_transaction
WHERE
app_id = '552635992'
AND block_id >= '18718205'
),
-- CHECK each TX_GROUP and how many txns it has
all_groups as (
SELECT COUNT(DISTINCT tx_id) as totals,
tx_group_id
from algorand.transactions
WHERE
tx_group_id IN ( SELECT tx_group_id from tinyman_txns)
GROUP BY tx_group_id
),
SELECT * from all_groups
WHERE
totals = 4 --SWAPs only have 4 txns in them
LIMIT 10