Skip to main content
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 Details

PropertyValue
Table Namefraxtal.raw.contracts
Table StatusProduction-Ready
Unique Keyblock_timestamp, transaction_hash, address, trace_id
Clustering Key(s)to_date("block_timestamp")
Search Optimizationaddress, block_number

Table Columns

Column NameData TypeDescription
addressVARCHAR(42)Contract address.
bytecodeVARCHAR(16777216)The bytecode data of this contract.
block_timestampTIMESTAMP_NTZ(9)The timestamp of the block that this contract was created in.
block_numberNUMBER(38,0)The number of the block that this contract was created in.
block_hashVARCHAR(66)The hash of the block that this contract was created in.
transaction_hashVARCHAR(66)The transaction hash of the block that this contract was created in.
deployerVARCHAR(42)Address of the contract deployer.
trace_idVARCHAR(16777216)Unique identifier for this contract creation trace. Generated by combining the trace_type, transaction_hash, and trace_address in trace data.
found_signature_hashesARRAYSignature hashes identified in the deployed contract. In an array format.
_created_atTIMESTAMP_NTZ(9)Timestamp of the entry creation.
_updated_atTIMESTAMP_NTZ(9)Timestamp of the entry update.