datavortexSuccess Rate Per
Updated 2024-12-06
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
›
⌄
WITH deployer_stats AS (
SELECT
signer_id AS "deployers",
COUNT(DISTINCT tx_hash) AS "total_deployments",
COUNT(DISTINCT CASE WHEN receipt_succeeded = TRUE THEN tx_hash END) AS "successful_deployments"
FROM
near.core.fact_actions_events
WHERE
action_name = 'DeployContract'
GROUP BY
signer_id
)
SELECT
d."deployers",
d."total_deployments",
d."successful_deployments",
(d."successful_deployments" / d."total_deployments") * 100 AS "success_rate"
FROM
deployer_stats d
ORDER BY
"total_deployments" DESC
LIMIT 10;
QueryRunArchived: QueryRun has been archived