Skip to main content
WSS

Overview

  • Dataset ID: 0121 - Contracts
  • Description: Smart contracts discovered via CREATE/CREATE2 internal transactions. Uses contract_id (26 bytes = address + creation_block + tx_index) as primary key to support metamorphic contracts (e.g. CREATE-SELFDESTRUCT-CREATE2 in the same block).
  • Sample: Hugging Face Sample

Subscription Parameters

number
required
Target EVM network. See the Chain enumeration for supported values.
string[]
Filter notifications to specific deployed contract addresses (hex string, 20 bytes, no 0x prefix).

Message Fields

Payload fields mirror blockdb_evm.b0121_contracts_v1 (binary fields as hex strings without 0x in JSON).
string
Contract incarnation ID (hex, 26 bytes): 20 bytes address + 4 bytes creation block + 2 bytes tx index.
string
Deployed contract address (hex string, 20 bytes, no 0x prefix).
number
Block height containing the contract creation.
string
Block time (ISO-8601).
number
Zero-based index of the deployment transaction within the block.
string
Position in the call tree (e.g., "0", "0.0", "0.1.2").
string
Address that deployed the contract (msg.sender of CREATE/CREATE2). Hex string, 20 bytes, no 0x prefix.
string
Creation call type (CREATE or CREATE2).
string
Lineage id (hex).
string
Record creation time (ISO-8601).
string
Record last update time (ISO-8601).

Subscription Example

Response Example

subscribe
type:object
unsubscribe
type:object
subscribe_response
type:object
unsubscribe_response
type:object
update
type:object
Last modified on July 19, 2026