Query editor
with base as (SELECTlog as log_raw, split(log,' ')[3] as log_name, json_parse(replace(replace(replace(split(log,' ')[4],':',':"'),',','",'),'}','"}')) as log_jsonFROM solana.transactionsLEFT JOIN unnest(log_messages) as l(log) ON TRUEWHERE id = '5tbmJNBq93rN1C9uBuzVaZGLoS29swbLWNyxnhnLBDbFsnJo9VTwwf9Z197udBt1HJgkwf7jA6SYPQVPyjj8fbvR'AND l.log like 'Program log: %Amount: {%' --look for a log that contains the Amount log. Remember % just means "any characters of any length can go here"and block_slot = 229575837)SELECTreplace(log_name,':','') as log_name, log_json, json_extract_scalar(log_json,'$.impact') as impact, json_extract_scalar(log_json,'$.in') as in_amount, json_extract_scalar(log_json,'$.out') as out_amountFROM base