Query editor
withlisting_opensea_tx as (SELECTevt_tx_hashfrom(selectevt_tx_hash,json_query(of, 'lax $.itemType' omit quotes) as of_itemtype,json_query(of, 'lax $.token' omit quotes) as token_contract,receive,cast(amount as double) / 1e18 as amount,offerer,recipientfrom(selectevt_tx_hash,offers.offer as of,offerer,recipient,json_query(consider, 'lax $.recipient' omit quotes) as receive,json_query(consider, 'lax $.amount' omit quotes) as amountfrom(selectevt_block_number,evt_tx_hash,offer,offerer,recipient,considers.consider as considerfromseaport_bnb.Seaport_evt_OrderFulfilled,unnest (consideration) as considers (consider)),unnest (offer) as offers (offer))wherereceive = lower('0x0000a26b00c1f0df003000390027140000faa719')and evt_tx_hash not in (select call_tx_hash from (select call_tx_hash, call_block_number,case whenjson_array_length(json_query(parameters, 'lax $.additionalRecipients' omit quotes)) = 1andjson_query(json_query(json_query(parameters, 'lax $.additionalRecipients' omit quotes),'lax $[0]' omit quotes), 'lax $.recipient' omit quotes) in ('0x19ce3159404b9432913f7c4ba3bb7c42ca531e77', '0x19Ce3159404b9432913F7c4bA3bb7C42ca531e77', '0x0c7707ad6c9922ca956d3410f6fa8834445f1544')then 'SPACE-ID'whenjson_array_length(json_query(parameters, 'lax $.additionalRecipients' omit quotes)) = 2andjson_query(json_query(json_query(parameters, 'lax $.additionalRecipients' omit quotes),'lax $[1]' omit quotes), 'lax $.recipient' omit quotes) in ('0x19ce3159404b9432913f7c4ba3bb7c42ca531e77', '0x19Ce3159404b9432913F7c4bA3bb7C42ca531e77', '0x0c7707ad6c9922ca956d3410f6fa8834445f1544')then 'SPACE-ID'else 'others'end as fill_source,