Query editor
-- Title: ether.fi Withdrawals-- Product: arm-- Description: Tracks ether.fi withdrawal requests and claims, including wait times and-- size buckets, with ARM vs other owner segmentation.-- Dune URL: https://dune.com/queries/6020739-- Updated: 2026-10-02WITHrequests AS (SELECTevt_block_time,evt_block_number,evt_index,evt_tx_hash,requestId AS request_id, -- noqa: PRSamountOfEEth / 1e18 AS amount_eth, -- noqa: PRSowner,fee / 1e18 AS fee_eth -- noqa: PRSFROM etherfi_ethereum.WithdrawRequestNFT_evt_WithdrawRequestCreatedWHERE evt_block_time > TIMESTAMP '{{from_date}}'UNION ALL-- The uint32 request ID event replaced the legacy event on 2026-07-14.-- Its fee field was removed; NULL distinguishes unavailable fees from zero.SELECTblock_time AS evt_block_time,block_number AS evt_block_number,index AS evt_index,tx_hash AS evt_tx_hash,CAST(VARBINARY_TO_UINT256(topic1) AS BIGINT) AS request_id,VARBINARY_TO_UINT256(VARBINARY_SUBSTRING(data, 1, 32)) / 1e18 AS amount_eth,VARBINARY_SUBSTRING(data, 77, 20) AS owner,CAST(NULL AS DOUBLE) AS fee_ethFROM ethereum.logsWHERE block_time > TIMESTAMP '{{from_date}}'AND block_time >= TIMESTAMP '2026-07-14'AND contract_address = 0x7d5706f6ef3f89b3951e23e557cdfbc3239d4e2c -- noqa: PRSAND topic0 = 0xe8c5062a529781e00d69c769270eb1f1ae6feb921aa80d238bb7b4b919b1ab22 -- noqa: PRS),processed AS (SELECTevt_block_time,evt_block_number,evt_index,evt_tx_hash,requestId AS request_id, -- noqa: PRSamountOfEEth / 1e18 AS amount_eth, -- noqa: PRSowner,fee / 1e18 AS fee_eth -- noqa: PRSFROM etherfi_ethereum.WithdrawRequestNFT_evt_WithdrawRequestClaimedWHERE evt_block_time > TIMESTAMP '{{from_date}}'UNION ALL-- The uint32 request ID event replaced the legacy event on 2026-07-14.-- Its fee field was removed; NULL distinguishes unavailable fees from zero.SELECT