flipside
Insights
Studio
Quests
For Chains
For Analysts
For Explorers
About
Log in
Sign up
flipside
Non-Swap "Swaps" Example
Polaris_9R
Non-Swap "Swaps" Example
Updated 2023-12-29
Copy Reference
Fork
9
1
2
3
4
5
›
⌄
SELECT
COUNT
(
1
)
FROM
thorchain
.
defi
.
fact_swaps_events
WHERE
BLOCK_TIMESTAMP
>=
CURRENT_DATE
-
INTERVAL
'{{days}} DAY'
AND
SPLIT_PART
(
MEMO
,
':'
,
5
)
=
'ss'
AND
UPPER
(
SPLIT_PART
(
MEMO
,
':'
,
1
)
)
NOT
IN
(
'S'
,
'SWAP'
,
'='
)
Results
QueryRunArchived: QueryRun has been archived