<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [CodingAttemptOptions](./bitburner.codingattemptoptions.md) &gt; [returnReward](./bitburner.codingattemptoptions.returnreward.md)

## CodingAttemptOptions.returnReward property

If truthy, then the function will return a string that states the contract’s reward when it is successfully solved.

<b>Signature:</b>

```typescript
returnReward: boolean;
```
