Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

get_class_hash

Retrieves a class hash of a contract deployed under the given address contract_address - target contract address Returns the ClassHash under given address

Fully qualified path: snforge_std::cheatcodes::contract_class::get_class_hash

pub fn get_class_hash(contract_address: ContractAddress) -> ClassHash