Skip to main content
WSS

Overview

  • Dataset ID: 0122 - Function Results
  • Description: On-chain function call return values versioned by block. Uses contract_id (26 bytes) to support metamorphic contracts; primary key is (contract_id, block_number, call_data).
  • Sample: Hugging Face Sample

Subscription Parameters

number
required
Target EVM network. See the Chain enumeration for supported values.
string[]
Filter by contract addresses (hex string, 20 bytes, no 0x prefix).
string[]
Filter by 4-byte function selectors (e.g., 0902f1ac).

Message Fields

Payload fields mirror blockdb_evm.b0122_function_results_v1 (binary fields as hex strings without 0x in JSON).
string
Contract incarnation ID (hex, 26 bytes).
number
Snapshot block height when the value was observed.
string
Block time (ISO-8601).
string
Hex-encoded calldata sent to the contract.
string
4-byte function selector (hex).
string | null
Hex-encoded return payload, or null.
string
Observation timestamp (ISO-8601).
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