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
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
Parameters
OBJECT
- The transaction call objectcontract_address -
Address the transaction is sent fromentry_point_selector -
Smart contract entry pointscall_data -
The hash of method signature and encoded parameters.
BLOCK_PARAM
- Expected one ofblock_number
,block_hash
,latest
,pending
Returns
The function's return value, as defined in the Cairo output