Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.starknet.io/llms.txt

Use this file to discover all available pages before exploring further.

Gets the class hash of the contract at the given address.

Signature

pub extern fn get_class_hash_at_syscall(contract_address: ContractAddress) -> Result> implicits(GasBuiltin, System) nopanic;

Arguments

  • contract_address - The address of the deployed contract.

Returns

  • The class hash of the contract’s originating code.