> 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/auto-compounding-rewards/pools.md).

# pools()

### Function pools()

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

```javascript
function pools() external view returns (address[] memory)
```

{% endcode %}

This function is used to get a list of token addresses that have rewards programs.&#x20;

### Return Variables

This function returns a list of token addresses.&#x20;

<table><thead><tr><th>Variable Type</th><th width="420">Returns</th></tr></thead><tbody><tr><td>list</td><td>A list of token addresses, for example:<br><code>0x444d6088b0f625f8c20192623b3c43001135e0fa,0xb2cabf797bc907b049e4ccb5b84d13be3a8cfc21,0x939b462ee3311f8926c047d2b576c389092b1649 address[]</code></td></tr></tbody></table>
