Avalanche Swaps vs Transfers (Redux)
Avalanche is a layer one blockchain that functions as a platform for decentralized applications and custom blockchain networks. It is one of Ethereum’s rivals, aiming to unseat Ethereum as the most popular blockchain for smart contracts. It aims to do so by having a higher transaction output of up to 6,500 transactions per second while not compromising scalability.
This is made possible by Avalanche’s unique architecture. The Avalanche network consists of three individual blockchains: the X-Chain, C-Chain and P-Chain. Each chain has a distinct purpose, which is radically different from the approach Bitcoin and Ethereum use, namely having all nodes validate all transactions. Avalanche blockchains even use different consensus mechanisms based on their use cases.
- What is the average amount of USDC transferred vs swapped?
- Show number of unique swapper addresses vs transfer addresses by day for USDC
- volume of USDC mints and burns by hour since 7/1
- How many unique wallets are minting and burning USDC by day
- What is the average mint vs burn for USDC by day
- Note anything else interesting about USDC transactions
By filtering the event_name column as ‘Swap’ in avalanche.core.fact_event_logs table, and defining contract address of USDC as ‘0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e’, we can reach to swap transactions for USDC. By filtering the event_name column as ‘Transfer’ in avalanche.core.fact_event_logs table, and defining contract address of USDC as ‘0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e’, and excluding swaps, we can reach to transfer transactions for USDC. and by defining the event name as ‘burn’ or ‘mint’ we can reach to burn or mint transactions.