Skip to main content
This page summarizes the most important HDP runtime types and where to find them in source.

Rust pipeline types

Related docs:

ProofsData JSON shape

chain_proofs carries chain-specific header/state proof bundles, state_proofs carries injected-state read/write proofs, and unconstrained carries hash-validated large payloads.

Chain-level enums and bundles

Cairo constants (chain IDs)

EVM:
  • ETHEREUM_MAINNET_CHAIN_ID
  • ETHEREUM_TESTNET_CHAIN_ID
  • OPTIMISM_MAINNET_CHAIN_ID
  • OPTIMISM_TESTNET_CHAIN_ID
Starknet:
  • STARKNET_MAINNET_CHAIN_ID
  • STARKNET_TESTNET_CHAIN_ID
See API usage in Capabilities.

Cairo key structs (practical shapes)

EVM keys:
Starknet keys:

Output fields (decoded from output segment)

For semantics and formulas: