Query editor
withraw_tx as (selectblock_time,block_number,index,"from" as creator,to as owner,data,hash,from_utf8(data) as decode_data,try_cast(from_utf8(bytearray_substring (data,bytearray_position (data,0x646174613a2c7b2270223a226273632d3230222c226f70223a226d696e74222c227469636b223a22626e6273222c226964223a22) + 52,bytearray_position (data, 0x222c22616d74223a2231303030227d) - bytearray_position (data,0x646174613a2c7b2270223a226273632d3230222c226f70223a226d696e74222c227469636b223a22626e6273222c226964223a22) - 52)) as bigint) as idfrombnb.transactions-- select min(block_date) from bnb.transactions-- where data = 0x646174613a2c7b2270223a226273632d3230222c226f70223a226465706c6f79222c227469636b223a22626e6273222c226d6178223a223231303030303030222c226c696d223a2231303030227dwhereblock_date >= date '2023-06-28' -- Depoly TX -- 0x469bb5ec5d87c590875689321c1f1d2ba0737756e47a9e548190c142ad669411and block_number >= 29508755 -- Depoly Block Numberand bytearray_starts_with (data,0x646174613a2c7b2270223a226273632d3230222c226f70223a226d696e74222c227469636b223a22626e6273222c226964223a22) -- data:,{"p":"bsc-20","op":"mint","tick":"bnbs","id":"and substr(data, -15, 15) = 0x222c22616d74223a2231303030227d -- ","amt":"1000"}and success = trueand value = 0),add_filter as (select*,rank() over (partition byidorder byblock_number,index) as rafromraw_txwhereid >= 0and id <= 21000)selectrank() over (order by