starknet_getClassAt

Get the contract class definition in the given block at the given address

Path parameters

apiKeystringRequired

Request

This endpoint expects an object.
block_idobject or enumRequired

The hash of the requested block, or number (height) of the requested block, or a block tag

contract_addressstringRequiredformat: "^0x(0|[a-fA-F1-9]{1}[a-fA-F0-9]{0,62})$"

The address of the contract whose class definition will be returned

Response

The contract class

Deprecated contract classobject

The definition of a StarkNet contract class

OR
Contract classobject