starknet_getClass
POST
/{apiKey}
Get the contract class definition in the given block associated with the given hash
Path Parameters
stringrequireddefaults to
docs-demoFor higher throughput, create your own API key
Request
object or enumrequired
The hash of the requested block, or number (height) of the requested block, or a block tag
Block hash, number or tag
string
format: "^0x(0|[a-fA-F1-9]{1}[a-fA-F0-9]{0,62})$"requiredThe hash of the requested contract class
Responses
200
The contract class, if found
Was this page helpful?