Antek2024-05-01 10:49 PM
Updated 2024-05-01
9999
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
›
⌄
WITH event_logs AS (
SELECT
l.BLOCK_NUMBER,
l.TX_HASH,
l.EVENT_INDEX,
l.CONTRACT_ADDRESS,
l.TOPICS,
l.DATA,
l.TX_STATUS
FROM
blast.core.fact_event_logs l
WHERE
l.BLOCK_TIMESTAMP >= '2024-04-17' AND
l.CONTRACT_ADDRESS = LOWER('YOUR_CONTRACT_ADDRESS_HERE') -- Replace with actual contract address
),
contract_abi AS (
SELECT
ARRAY_CONSTRUCT(
{
"fragments": [
{
"type": "constructor",
"inputs": [
{
"name": "args",
"type": "tuple",
"baseType": "tuple",
"components": [
{
"name": "whitelistRoot",
"type": "bytes32",
"baseType": "bytes32",
"components": null,
"arrayLength": null,
"arrayChildren": null
},
QueryRunArchived: QueryRun has been archived