starknet_getClassHashAt
Returns the contract class hash of the specified contract class address in the specified block.
Parameters
block_id: [Required] The block parameter object containing one of the following:block_hash: (string) Block hash.block_number: (integer) Decimal block number.- One of the string tags
latestorpending.
contract_address: (string) [Required] The address of the requested contract class.
Returns
The class hash of the requested contract class.
Example
Replace YOUR-API-KEY with an API key from your Infura dashboard.