이더리움 Goerli 예시 쿼리

이 페이지에서는 Ethereum Goerli의 블록체인 분석 쿼리 예시를 제공합니다.

BigQuery 사용에 관한 안내는 BigQuery 문서를 참고하세요.

Goerli 지원 중단 발표 이후 일일 평균 거래 수 감소

이 쿼리는 2023년 4월 1일에 Goerli 테스트넷이 Sepolia 및 Holesky 테스트넷을 위해 지원 중단된다고 발표된 후 Goerli의 평균 일일 거래 감소를 살펴봅니다.

Google Cloud 콘솔에서 BigQuery 페이지로 이동합니다.

BigQuery로 이동

다음 쿼리가 편집기 필드에 로드됩니다.

 # Average daily transactions count drop since announcement of Goerli
 # deprecation (two weeks around Apr 1st, 2023) In favor of new Sepolia chain
SELECT
 DATE(block_timestamp) AS date,
 COUNT(*) AS num_transactions
FROM
 `bigquery-public-data.goog_blockchain_ethereum_goerli_us.transactions`
WHERE
 block_timestamp >= TIMESTAMP('2023-03-24')
 AND block_timestamp <= TIMESTAMP('2023-04-08')
GROUP BY
 1
ORDER BY
 1 DESC;

다음은 결과의 예입니다.

날짜 거래 수
2023-04-08 80
2023-04-07 633,348
2023-04-06 530,415
2023-04-05 485,717
2023-04-04 478,859
2023-04-03 493,144
2023-04-02 514,925
2023-04-01 460,480
2023-03-31 524,960
2023-03-30 532,627
2023-03-29 596,644
2023-03-28 555,764
2023-03-27 541,082
2023-03-26 550,949
2023-03-25 541,940
2023-03-24 591,707

지난 7일간의 일별 거래 수

Google Cloud 콘솔에서 BigQuery 페이지로 이동합니다.

BigQuery로 이동

다음 쿼리가 편집기 필드에 로드됩니다.

SELECT
  DATE(block_timestamp) AS date,
  COUNT(*) AS num_transactions
FROM
  `bigquery-public-data.goog_blockchain_ethereum_goerli_us.transactions`
WHERE
  block_timestamp >= TIMESTAMP_SUB(CURRENT_TIMESTAMP(), INTERVAL 10 DAY)
GROUP BY
  1
ORDER BY
  1 DESC;

다음은 결과의 예입니다.

날짜 num_transactions
2023-09-08 181766
2023-09-07 278809
2023-09-06 209469
2023-09-05 265245
2023-09-04 260391
2023-09-03 240675
2023-09-02 243579
2023-09-01 220796
2023-08-31 216822
2023-08-30 208608
2023-08-29 52474