Query editor
with token_addresses as (select address as address, symbol, name, type, price, 'ethereum' as blockchainfrom dune.ondo_team.result_ondo_assetsunion allselect address_bnb as address, symbol, name, type, price, 'bnb' as blockchainfrom dune.ondo_team.result_ondo_assetsunion allselect address_hype as address, symbol, name, type, price, 'hyperevm' as blockchainfrom dune.ondo_team.result_ondo_assetswhere address_hype is not nullunion allselect address_robinhood as address, symbol, name, type, price, 'robinhood' as blockchainfrom dune.ondo_team.result_ondo_assetswhere address_robinhood is not null),sol_tokens AS (SELECTCAST(address_sol AS VARCHAR) AS address,symbol, name, type, priceFROM dune.ondo_team.result_ondo_assets),raw_sol as (SELECTcall_block_date as day,account_taker as trader,casewhen account_input_mint in (select address from sol_tokens) then account_input_mintwhen account_output_mint in (select address from sol_tokens) then account_output_mintend as address,casewhen account_input_mint in (select address from sol_tokens) then input_amount/1e9when account_output_mint in (select address from sol_tokens) then output_amount/1e9end as amount,call_tx_idFROM jupiter_solana.order_engine_call_fillWHERE account_input_mint in (select address from sol_tokens)or account_output_mint in (select address from sol_tokens)),-- ================================================================-- HOW USD VALUES ARE DERIVED HERE, AND HOW TO CHECK THEM---- Ondo tokenized stocks are not in Dune's price tables, so several upstream-- sources leave amount_usd NULL or 0 on exactly the trades this query is about.-- Where that happens the value is rebuilt, and the rule is always the same:-- prefer an amount that was actually transacted (a stablecoin or USDon leg, or-- an on-chain price carried by the event itself) over a reference price.-- dune.ondo_team.result_ondo_price_history is the reference-price fallback. It is-- good but not authoritative: measured against the amount actually paid on four-- trades it came in at +1.27% (GOOGLon), -0.83% (ORCLon), -1.23% (TSLAon) and-- +23.6% (MUon 2026-07-30, an outlier inside its own series - the neighbouring-- days read 734.83 and 815.03 against 731.30 on-chain). It also carries weekend-- rows, so it is not an exchange close.---- WHEN VERIFYING ON A BLOCK EXPLORER, READ TOKEN AMOUNTS AND STABLECOIN LEGS,-- NEVER THE DOLLAR LABELS. Explorers value token transfers at TODAY's price. On-- four Ondo tickers the explorer's implied price sat within 2% of today's price-- and up to 40% away from the price on the trade date (TSLAon: $423.22 paid on