> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dune.com/llms.txt
> Use this file to discover all available pages before exploring further.

# berachain.creation_traces

> Contract deployment records on Berachain — deployer address, factory context, and deployed bytecode.

export const TableSample = ({tableName, tableSchema}) => <>
    <div className="hidden dark:block">
      <iframe src={`https://dune.com/embeds/3419983/5785629?table_schema_t6f0df=${tableSchema}&table_name_t6f0df=${tableName}&darkMode=true`} style={{
  width: '100%',
  height: '500px',
  border: 'none',
  marginTop: '10px'
}} />
    </div>
    <div className="dark:hidden">
      <iframe src={`https://dune.com/embeds/3419983/5785629?table_schema_t6f0df=${tableSchema}&table_name_t6f0df=${tableName}`} style={{
  width: '100%',
  height: '500px',
  border: 'none',
  marginTop: '10px'
}} />
    </div>
  </>;

## Table Description

The `creation_traces` table contains information about the creation of smart contracts on the Berachain blockchain. This includes the address of the contract, the address of the creator, the block number at which the contract was created, the transaction hash, and the contract's bytecode. This table is useful for understanding the deployment of smart contracts on the Berachain blockchain.

The `berachain.creation_traces` table is a subset of the `traces` table, which contains information about all traces on the Berachain blockchain. The `creation_traces` table is filtered to only include traces that create new smart contracts. The filter for this is `type` = `create`.

## Column Descriptions

| Column         | Type        | Description                                           |
| -------------- | ----------- | ----------------------------------------------------- |
| `block_time`   | `timestamp` | Timestamp of the block containing this creation trace |
| `block_number` | `bigint`    | Block number containing this creation trace           |
| `tx_hash`      | `varbinary` | Hash of the transaction that created the contract     |
| `address`      | `varbinary` | Address of the newly created contract                 |
| `from`         | `varbinary` | Address that deployed the contract                    |
| `code`         | `varbinary` | Bytecode of the deployed contract                     |
| `block_month`  | `date`      | Month of the block (for partitioning)                 |

## Table Sample

<TableSample tableSchema="berachain" tableName="creation_traces" />
