tkvresearchbad-pink
    Updated 2025-02-13
    with full_data as
    (
    select * from (values

    ('0x8236a87084f8B84306f72007F36F2618A5634494','LBTC','Ethereum')

    ) as l1(address,token_name,chain)
    )
    ,

    pre_final_data as

    (select BLOCK_TIMESTAMP,
    SYMBOL,
    AMOUNT
    from bsc.core.ez_token_transfers
    where contract_address in (select lower(address) from full_data)
    and from_address = '0x0000000000000000000000000000000000000000'
    union all
    select BLOCK_TIMESTAMP,
    SYMBOL,
    -AMOUNT
    from bsc.core.ez_token_transfers
    where contract_address in (select lower(address) from full_data)
    and to_address = '0x0000000000000000000000000000000000000000'
    union all
    select BLOCK_TIMESTAMP,
    SYMBOL,
    AMOUNT
    from ethereum.core.ez_token_transfers
    where contract_address in (select lower(address) from full_data)
    and from_address = '0x0000000000000000000000000000000000000000'
    union all
    select BLOCK_TIMESTAMP,
    SYMBOL,
    -AMOUNT
    Last run: 2 months ago
    DATETIME
    SYMBOL
    TOTAL_AMT
    1
    2024-12-30 00:00:00.000LBTC105.15298876
    2
    2025-01-08 00:00:00.000LBTC231.39819063
    3
    2024-10-15 00:00:00.000LBTC311.90876536
    4
    2024-11-29 00:00:00.000LBTC0.33848495
    5
    2024-12-27 00:00:00.000LBTC137.74854982
    6
    2024-10-10 00:00:00.000LBTC70.94086105
    7
    2024-10-22 00:00:00.000LBTC-22.87815185
    8
    2024-11-20 00:00:00.000LBTC265.40345267
    9
    2024-11-24 00:00:00.000LBTC1.53775763
    10
    2025-02-12 00:00:00.000LBTC370.94737766
    11
    2025-01-21 00:00:00.000LBTC10.24211182
    12
    2025-02-07 00:00:00.000LBTC102.81309844
    13
    2024-10-19 00:00:00.000LBTC42.88341407
    14
    2024-10-01 00:00:00.000LBTC137.93487921
    15
    2025-01-04 00:00:00.000LBTC24.99253249
    16
    2024-09-11 00:00:00.000LBTC285.26788696
    17
    2024-09-26 00:00:00.000LBTC1.77483006
    18
    2024-09-17 00:00:00.000LBTC8.9665137
    19
    2024-11-07 00:00:00.000LBTC15.61225438
    20
    2024-11-03 00:00:00.000LBTC346.39842895
    ...
    179
    8KB
    134s