Parameters
string
default:"starknet-sepolia"
required
Unique identifier for a blockchain network.
number
default:1
required
Request identifier used to match responses.
string
default:"2.0"
required
JSON-RPC version.
string
default:"starknet_getClassHashAt"
required
JSON-RPC method name.
object
Parameters for method starknet_getClassHashAt: [block_id, contract_address]Parameters for
starknet_getClassHashAt:params.block_id: BlockID object containing hash and number.params.contract_address: Address of the requested contract class.
Returns
string
The class hash of the requested contract class (DATA, 32 Bytes). Example:
“0xabcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdefabcdef”.