The contracts table contains all the deployed contracts with bytecode data identified from trace create and create2 opcodes.

A “smart contract” is simply a program that runs on the EVM blockchain. It’s a collection of code (its functions) and data (its state) that resides at a specific address on the blockchain.

Deploying a smart contract on EVM chains typically involves sending a transaction containing the compiled code of the smart contract without specifying any recipient.

Table Columns

Unique Key: trace_id

Column NameData TypeDescription
block_numberNUMBER(38,0)The number of the block that this contract was created in.
block_timestampTIMESTAMP_NTZ(9)The timestamp of the block that this contract was created in.
block_hashVARCHARThe hash of the block that this contract was created in.
addressVARCHARContract address.
bytecodeVARCHARThe bytecode data of this contract.
found_signature_hashesARRAYSignature hashes identified the deployed contract. In an array format.
transaction_hashVARCHARThe transaction hash of the block that this contract was created in.
trace_idVARCHARUnique identifier for this contract creation trace. Generated by combining the trace_type, transaction_hash and trace_address in trace data.
deployerVARCHARAddress of the contract deployer.
_created_atTIMESTAMP_NTZ(9)Timestamp of the entry creation.
_updated_atTIMESTAMP_NTZ(9)Timestamp of the entry update.