Contracts
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 Name | Data Type | Description |
---|---|---|
block_number | NUMBER(38,0) | The number of the block that this contract was created in. |
block_timestamp | TIMESTAMP_NTZ(9) | The timestamp of the block that this contract was created in. |
block_hash | VARCHAR | The hash of the block that this contract was created in. |
address | VARCHAR | Contract address. |
bytecode | VARCHAR | The bytecode data of this contract. |
found_signature_hashes | ARRAY | Signature hashes identified the deployed contract. In an array format. |
transaction_hash | VARCHAR | The transaction hash of the block that this contract was created in. |
trace_id | VARCHAR | Unique identifier for this contract creation trace. Generated by combining the trace_type, transaction_hash and trace_address in trace data. |
deployer | VARCHAR | Address of the contract deployer. |
_created_at | TIMESTAMP_NTZ(9) | Timestamp of the entry creation. |
_updated_at | TIMESTAMP_NTZ(9) | Timestamp of the entry update. |