Query editor
WITH implementation AS (SELECT address AS implementation_address, accountFROM (VALUES(0x62Fdd1382b0182F2CC40bAdEa6E5DE0CCb2d6488, 'Etherspot')) AS t(address, account)), eip7702_authorization AS (SELECT 'arbitrum' AS blockchain, t."from" AS delegator_eoa, auth.address AS implementation_addressFROM arbitrum.transactions tCROSS JOIN UNNEST(t.authorization_list) AS auth(chainId, address, nonce, r, s, yParity)WHERE t.type = 'EIP-7702'AND t.authorization_list IS NOT NULLAND cardinality(t.authorization_list) > 0-- UNION ALL-- SELECT 'avalanche', t."from", auth.address-- FROM avalanche_c.transactions t-- CROSS JOIN UNNEST(t.access_list) AS auth(address)-- WHERE t.type = 'EIP-7702'-- AND t.access_list IS NOT NULL-- AND cardinality(t.access_list) > 0UNION ALLSELECT 'base', t."from", auth.addressFROM base.transactions tCROSS JOIN UNNEST(t.authorization_list) AS auth(chainId, address, nonce, r, s, yParity)WHERE t.type = 'EIP-7702'AND t.authorization_list IS NOT NULLAND cardinality(t.authorization_list) > 0UNION ALLSELECT 'bnb', t."from", auth.addressFROM bnb.transactions tCROSS JOIN UNNEST(t.authorization_list) AS auth(chainId, address, nonce, r, s, yParity)WHERE t.type = 'EIP-7702'AND t.authorization_list IS NOT NULLAND cardinality(t.authorization_list) > 0-- UNION ALL-- SELECT 'celo', t."from", auth.address-- FROM celo.transactions t-- CROSS JOIN UNNEST(t.authorization_list) AS auth(chainId, address, nonce, r, s, yParity)-- WHERE t.type = 'EIP-7702'-- AND t.authorization_list IS NOT NULL-- AND cardinality(t.authorization_list) > 0UNION ALLSELECT 'ethereum', t."from", auth.addressFROM ethereum.transactions tCROSS JOIN UNNEST(t.authorization_list) AS auth(chainId, address, nonce, r, s, yParity)WHERE t.type = 'EIP-7702'AND t.authorization_list IS NOT NULL