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. | 0x1ee46456c0ce4e2472f6979b3a39bcdcbf6424f9 |
block_hash | The hash of the block that this contract was created in. | 0x3f0e5f9c71cc213afa252a95f1276db6b1d5bf03d8e1b912aa67161901ba9598 |
block_number | The number of the block that this contract was created in. | 4340213 |
block_timestamp | The timestamp of the block that this contract was created in. | 2023-09-23 11:49:33+00:00 |
bytecode_creation | The bytecode data of this contract (Traces input). | 0x60e060405234801562..... |
bytecode_runtime | The bytecode data of this contract (Traces output). | 0x608060405234801561..... |
deployer | Address of the contract deployer. | 0x562bd66f6bfcb9cb95e8477f7fcdae650c2b9d98 |
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_0x4c52762aebe97c24c3c176a15c424a98079d4961e89f6ed655fef0b3a78c6d0e_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. | 0x4c52762aebe97c24c3c176a15c424a98079d4961e89f6ed655fef0b3a78c6d0e |
transaction_index | The position of this transaction in the block that it belongs to. The first transaction has index 0. | 7 |
_updated_at | Timestamp of the entry creation. | 2023-12-19 13:52:24.663000+00:00 |
_created_at | Timestamp of the entry update. | 2023-12-19 13:52:24.663000+00:00 |
Last updated