Parameters
string
default:"starknet-sepolia"
required
Unique identifier for a blockchain network.
Request identifier used to match responses.
string
default:"2.0"
required
JSON-RPC version.
string
default:"starknet_getClass"
required
JSON-RPC method name.
Parameters for starknet_getClass: [block_id, class_hash].Parameters for starknet_getClass:params.block_id: BlockID object containing hash and number.params.class_hash: The class hash of the requested contract class.
Returns
Contract class object.
The class ABI, as supplied by the user declaring the class.
Version of the contract class object.
Entry points by type.
List of constructor entry points.
List of external entry points.
List of L1 handler entry points.
List of Sierra instructions of which the program consists.