m3jiFunction Call Analysis
    Updated 2025-05-08
    SELECT
    origin_function_signature,
    COUNT(*) AS call_count,
    COUNT(DISTINCT from_address) AS unique_callers,
    AVG(gas_used) AS avg_gas,
    AVG(tx_fee_precise) AS avg_fee,
    (SUM(CASE WHEN tx_succeeded = false THEN 1 ELSE 0 END) / NULLIF(COUNT(*), 0)) * 100 AS failure_rate_percent

    FROM scroll.core.fact_transactions
    WHERE
    origin_function_signature IS NOT NULL
    AND block_timestamp >= DATEADD(day, -90, CURRENT_DATE())
    GROUP BY origin_function_signature
    ORDER BY call_count DESC
    LIMIT 50;
    Last run: about 2 months ago
    ORIGIN_FUNCTION_SIGNATURE
    CALL_COUNT
    UNIQUE_CALLERS
    AVG_GAS
    AVG_FEE
    FAILURE_RATE_PERCENT
    1
    0x41704114260626219.3677890.0000056714948210.0022
    2
    0x39455d3a405951140828.6119210.0000023939036370
    3
    0x095ea7b31957127758247715.0555460.0000048479388770.0864
    4
    0xa15112f916849719541137589.3426530.0000086255093721.2778
    5
    0xa00597a01579125151372.9321650.0000074957244212.566
    6
    0x3161b7f6153860137988.1522420.0000033701246840
    7
    0xb143044b104732169916.8735340.0000053639071770
    8
    0x0000000086237308247289.8187440.0000202075981415.2371
    9
    0xc98075398216925146646.9286710.000011597554111.3691
    10
    0xf923cc28813592231816.2322550.000011877441845.5802
    11
    0xa9059cbb805213946148070.3675560.000016611792682.3807
    12
    0x49a1a4fb535181226213.1563960.000012280478260
    13
    0xcfc32570535081100548.9766580.0000070546042120
    14
    0x0894edf153212176743.3484930.0000051926662220
    15
    0xc7c7f5b34443626517198467.9172070.000010801431710.6099
    16
    0xa66f42c035645116640570.918390.0000028710820932.696
    17
    0x051d22a4336201244620.8444970.000014752917680
    18
    0xb61d27f6327778153969.1297860.00000939071605531.1072
    19
    0x37523745317274217437.5437320.000041594925280.2522
    20
    0x796c8ce6271581100612.2431330.00000801290148886.3208
    50
    3KB
    2s