starknet_call
call a starknet function without creating a StarkNet transaction
Parameters:
OBJECT - The transaction call object
contract_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 of block_number
, block_hash
, latest
, pending
Returns:
The function's return value, as defined in the Cairo output
Example:
Last updated