nandreGetting Started
    Updated 2024-11-19
    SELECT
    address,
    address_name,
    label,
    label_type,
    label_subtype
    FROM (
    SELECT
    t.from_address AS address,
    dl.address_name,
    dl.label,
    dl.label_type,
    dl.label_subtype
    FROM ETHEREUM.core.ez_token_transfers t
    INNER JOIN ethereum.core.dim_labels dl ON t.from_address = dl.address
    WHERE t.contract_address = '0x514910771af9ca656af840dff83e8264ecf986ca'
    UNION
    SELECT
    t.to_address AS address,
    dl.address_name,
    dl.label,
    dl.label_type,
    dl.label_subtype
    FROM ETHEREUM.core.ez_token_transfers t
    INNER JOIN ethereum.core.dim_labels dl ON to_address = dl.address
    WHERE t.contract_address = '0x514910771af9ca656af840dff83e8264ecf986ca'
    ) AS combined_results
    ORDER BY address
    QueryRunArchived: QueryRun has been archived