FatemeTheLadySolana-open3
Updated 2022-11-24
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
›
⌄
WITH outflow AS (
SELECT sum(amount) AS outflow_amount
FROM solana.core.fact_transfers t
,solana.core.dim_labels l
WHERE t.TX_TO = l.address
AND mint ='EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v')
, inflow AS (
SELECT sum(amount) AS inflow_amount
FROM solana.core.fact_transfers t
,solana.core.dim_labels l
WHERE t.TX_FROM = l.address
and mint='EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v')
SELECT
inflow_amount,
outflow_amount,
inflow_amount - outflow_amount AS "market cap"
FROM inflow,outflow
Run a query to Download Data