Return Values

Output

Return values are the data outputs generated by a smart contract function after its execution, providing information back to the caller. These values can represent the result of a calculation, the status of an operation, or specific data queried from the contract’s state. While internal and view functions typically return values directly, external calls often rely on event logs for observable outcomes due to transaction finality. Understanding these outputs is crucial for interpreting contract behavior.