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


  1. OBJECT - The transaction call object

    • contract_address - Address the transaction is sent from

    • entry_point_selector -Smart contract entry points

    • call_data -The hash of method signature and encoded parameters.

  2. BLOCK_PARAM - Expected one of block_number, block_hash, latest, pending


The function's return value, as defined in the Cairo output

Last updated