The plume.creation_traces table contains all contract creation traces in the Plume blockchain.

Table Schema

Column NameData TypeDescription
transaction_hashstringTransaction hash
transaction_indexdecimal(38,0)Transaction index in block
from_addressstringCreator address
to_addressstringCreated contract address
valuedecimal(38,0)Value in wei
inputstringCreation bytecode
outputstringOutput data
trace_typestringTrace type
call_typestringCall type
gasdecimal(38,0)Gas limit
gas_useddecimal(38,0)Gas used
subtracesdecimal(38,0)Number of subtraces
trace_addressarrayTrace address
errorstringError message
statusdecimal(38,0)Status
block_timestamptimestampBlock timestamp
block_numberdecimal(38,0)Block number

Sample Query

-- Get the most active contract creators in the last 24 hours
SELECT 
    from_address,
    COUNT(*) as contracts_created
FROM plume.creation_traces
WHERE block_timestamp >= NOW() - INTERVAL '24' HOUR
GROUP BY from_address
ORDER BY contracts_created DESC
LIMIT 10;