Query editor
withdeploy as (selectblock_time,block_number,index,from_utf8(data) as decode_data,"from",to,hashfrompolygon.transactionswhereblock_date >= date '2023-11-01'and bytearray_starts_with (data,0x646174613a2c7b2261223a224e657874496e736372697074696f6e222c2270223a226f7072632d3230222c226f70223a226465706c6f7922 -- data:,{"a":"NextInscription","p":"oprc-20","op":"deploy") = trueand success = true),success as (selectrank() over (partition byjson_extract_scalar(substr(decode_data, 7), '$.tick')order byblock_number,index) as ra,json_extract_scalar(substr(decode_data, 7), '$.tick') as tick,json_extract_scalar(substr(decode_data, 7), '$.max') as "max",json_extract_scalar(substr(decode_data, 7), '$.lim') as lim,*fromdeploy)select'success' as status,*fromsuccesswherera = 1