starknet_call

Calls a function in a contract and returns the return value. Using this call will not create a transaction; hence, will not change the state

Path parameters

apiKeystringRequired

Request

This endpoint expects an object.
requestobjectRequired

The details of the function call

block_idobject or enumRequired

The hash of the requested block, or number (height) of the requested block, or a block tag, for the block referencing the state or call the transaction on.

Response

The function’s return value