SELECT
LOWER(origin_address),
LOWER(to_address),
LOWER(from_address),
amount_usd, -- not all events have amount_usd shown
block_timestamp,
-- to_address_name,
-- event_name,
-- event_type,
amount,
symbol
FROM ethereum.udm_events
WHERE
LOWER(to_address_name) = 'stakingpools'
OR LOWER(from_address_name) = 'stakingpools'
ORDER BY 1