Query editor
WITH claims AS (SELECTtx_id,CAST(message_index AS bigint) AS message_index,block_dateFROM noble.tx_messagesWHEREmessage_type = '/noble.dollar.v1.MsgClaimYield'AND block_date >= DATE(CAST('2025-03-01' AS TIMESTAMP)) /* USDN launch week */)SELECTc.block_date,SUM(TRY_CAST(REPLACE(me.attribute_value, 'uusdn', '') AS DOUBLE)) / 1e6 AS usdn_yieldedFROM claims AS cJOIN noble.message_events AS meON me.tx_id = c.tx_id AND me.message_index = c.message_indexWHEREme.attribute_key = 'amount' AND me.attribute_value LIKE '%uusdn'GROUP BYc.block_dateORDER BYc.block_date DESC