# providerProgramIds()

### Function providerProgramIds()

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

```javascript
function providerProgramIds(address provider) external view returns (uint256[] memory)
```

{% endcode %}

This function is used to get the list of rewards programs a specific address is participating in.&#x20;

### Function Arguments

| Name     | Type    | Description                                                  |
| -------- | ------- | ------------------------------------------------------------ |
| provider | address | The address for which to check reward program participation. |

### Return Variables

This function gets a list of rewards programs that the specified address is a participant in.&#x20;

| Variable Type | Returns                                                                                                    |
| ------------- | ---------------------------------------------------------------------------------------------------------- |
| uint256\[]    | The returned list is an array of the rewards program IDs for which the indicated address is a participant. |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bancor.network/developer-guides/read-functions/rewards/standard-rewards/providerprogramids.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
