starknet_getClassAt
Get the contract class definition in the given block at the given address.
Get the contract class definition in the given block at the given address.
The starknet_getClassAt
command allows users to obtain the contract class definition by providing the given block number and the given address.
Parameters
BLOCK_PARAM
- Expected one of block_number
, block_hash
, latest
, pending
.
CONTRACT_ADDRESS
- The address of the contract to read from.
Returns
The contract class.