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_getClass"
required
JSON-RPC method name.
object
required
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
object
Contract class object.