Query editor
select block_height, ox.tx_index, ix.index as input_index, ox.index as output_index, ix.value as input_value, ox.value as output_value-- , sequence-- , bitwise_and(sequence, 63) as color_tag-- , bitwise_and(bitwise_right_shift(sequence, 6), 63) as padding_n, CASE bitwise_and(sequence, 63)WHEN 37 THEN 'genesis'WHEN 51 THEN 'transfer'END as color_tag, round(1e8 * ox.value) - bitwise_left_shift(1, bitwise_and(bitwise_right_shift(sequence, 6), 63))as color_value, get_href(get_chain_explorer_tx_hash('bitcoin',ix.tx_id), to_hex(substr(ix.tx_id,1,8))) as tx_hashfrom bitcoin.inputs ixleft join lateral (select tx.index as tx_index, ox.index, ox.valuefrom bitcoin.transactions tx cross join unnest(tx.output) oxwhere tx.id = ix.tx_id) ox ON TRUEwhere sequence < 4096and bitwise_and(sequence, 63) IN (37, 51)and not is_coinbaseand block_height < 500000order by 1limit 1000