callContract

abstract fun callContract(call: Call, blockTag: BlockTag): Request<List<Felt>>

Calls a contract deployed on StarkNet.

Parameters

call

a call to be made

blockTag

Throws


abstract fun callContract(call: Call, blockHash: Felt): Request<List<Felt>>

Calls a contract deployed on StarkNet.

Parameters

call

a call to be made

blockHash

a hash of the block in respect to what the call will be made

Throws


abstract fun callContract(call: Call, blockNumber: Int): Request<List<Felt>>

Calls a contract deployed on StarkNet.

Parameters

call

a call to be made

blockNumber

a number of the block in respect to what the call will be made

Throws


open fun callContract(call: Call): Request<List<Felt>>

Calls a contract deployed on StarkNet.

Calls a contract deployed on StarkNet in the latest block.

Parameters

call

a call to be made

Throws