Contract Events
The contract events table contains all contract deployment (trace type = create, create2) and destruction (trace type = suicide) events from internal transactions (traces).
This table contains both failed (error messaged and/or status = 1) and successful (status = 1 and no error message) events are included in this dataset.
Example
Finding all successful contract deployment.
Table Columns
Column Name | Description | Example |
---|---|---|
address | Contract address. | 0x500dc911b39c11c2ed52b0adabd277875b56a0d2 |
block_hash | The hash of the block that this contract was created in. | 0x6fadac92d7a0986cdc84ff6389364b331a2e227b77ac9c7af3e4a11d48913783 |
block_number | The number of the block that this contract was created in. | 28916779 |
block_timestamp | The timestamp of the block that this contract was created in. | 2023-04-18 18:28:56+00:00 |
bytecode_creation | The bytecode data of this contract (Traces input). | 0x608060405234801561..... |
bytecode_runtime | The bytecode data of this contract (Traces output). | 0x608060405260043610..... |
deployer | Address of the contract deployer. | 0xa54108a0413f9992dfad7873966ff55d95ebcf7b |
trace_type | Timestamp of the entry creation. | create |
status | Timestamp of the entry update. | 1 |
error | Human readable developer error message. Examples: "Out of gas", "Reverted", "Bad instruction", "Bad jump destination". | |
trace_id | Unique identifier for this trace. Generated by combining the trace_type, transaction_hash and trace_address. | create_0x81b54e101b1a5c52a1b549007ac7003136f6ece3bbc58446f42ed72c6a312c22_0 |
subtraces | Number of children traces. | 0 |
trace_address | The address of the trace within the call graph. More detail to come soon. | 0 |
transaction_hash | Unique identifier of the transaction that contains this trace. | 0x81b54e101b1a5c52a1b549007ac7003136f6ece3bbc58446f42ed72c6a312c22 |
transaction_index | The position of this transaction in the block that it belongs to. The first transaction has index 0. | 2 |
_updated_at | Timestamp of the entry creation. | 2023-12-19 13:54:50.366000+00:00 |
_created_at | Timestamp of the entry update. | 2023-12-19 13:54:50.366000+00:00 |
Last updated