> For the complete documentation index, see [llms.txt](https://remusdex.gitbook.io/remusdex-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://remusdex.gitbook.io/remusdex-docs/how-to-interact/claiming-fees-for-contract-owner.md).

# Claiming Fees (For Contract Owner)

```bash
export TOKEN_ADDRESS=<token_to_claim>
export AMOUNT_TO_CLAIM=<amount_in_wei>

starkli invoke \
  <DEX_ADDRESS> \
  claim_fees \
  $TOKEN_ADDRESS \
  $AMOUNT_TO_CLAIM
```

* Used by the owner to withdraw accumulated fees.
