Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

ContractData

Represents contract-specific data needed for storage proof verification

This structure contains all the necessary information about a contract’s state, including its class hash, nonce, state hash version, and the storage proof itself.

Fields

  • class_hash - The hash of the contract’s class
  • nonce - The contract’s current nonce
  • contract_state_hash_version - Version identifier for the contract state hash format
  • storage_proof - Array of TrieNode representing the storage proof path

Fully qualified path: alexandria_merkle_tree::storage_proof::ContractData

[derive(Destruct, Serde)]
pub struct ContractData { /* private fields */ }