Skip to main content

starknet_getClassHashAt

Get the contract class hash in the given block for the contract deployed at the given address

Get the contract class hash in the given block for the contract deployed at the given address

Parameters

  1. BLOCK_PARAM - Expected one of block_number, block_hash, latest, pending
  2. CONTRACT_ADDRESS - The address of the contract to read from

Returns

The class hash of the given contract