> For the complete documentation index, see [llms.txt](https://docs.bancor.network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bancor.network/developer-guides/read-functions/rewards/standard-rewards/programstake.md).

# programStake()

### Function programStake()

{% code title="StandardRewards.sol" %}

```javascript
function programStake(uint256 id) external view returns (uint256)
```

{% endcode %}

This function gets details about the amount currently staked in a specific program.

### Function Arguments

| Name | Type    | Description                  |
| ---- | ------- | ---------------------------- |
| id   | uint256 | The ID of a rewards program. |

### Return Variables

This function gets the number of tokens staked in the specified rewards program.&#x20;

| Variable Type | Returns                                                                 |
| ------------- | ----------------------------------------------------------------------- |
| uint256       | The number of tokens currently staked in the specified rewards program. |

Example response:

*`uint256`*` ``:  1204490848879513812011104`
