getClass

abstract fun getClass(classHash: Felt): Request<ContractClassBase>

Get the contract class definition.

Get the contract class definition associated with the given hash.

Parameters

classHash

The hash of the requested contract class.

Throws


abstract fun getClass(classHash: Felt, blockHash: Felt): Request<ContractClassBase>

Get the contract class definition.

Get the contract class definition associated with the given hash.

Parameters

classHash

The hash of the requested contract class.

blockHash

The hash of requested block.

Throws


abstract fun getClass(classHash: Felt, blockNumber: Int): Request<ContractClassBase>

Get the contract class definition.

Get the contract class definition associated with the given block number.

Parameters

classHash

The hash of the requested contract class.

blockNumber

The number of requested block.

Throws


abstract fun getClass(classHash: Felt, blockTag: BlockTag): Request<ContractClassBase>

Get the contract class definition.

Get the contract class definition associated with the given block tag.

Parameters

classHash

The hash of the requested contract class.

blockTag

The tag of requested block.

Throws