---
title: "Claim Vault rewards"
method: POST
path: "/markets/lending_vaults/rewards/claim"
tags: ["lending_vaults"]
---

# Claim Vault rewards

`POST /markets/lending_vaults/rewards/claim`

Claim rewards from a target lending Vault. This will harvest from all available rewards schedules and close empty accounts to refund SOL to requesting wallet.

## Headers

- `Idempotent-Key` string, nullable

## Request body

- ClaimLendVaultRewardsParams
  - `rewardMints` string[]
  - `unclaimedStakeAccounts` string[]
  - `vaultAddress` string, required

## Response `200`

Serialized transactions to claim rewards

- VersionedTransactionReturn[]
  - `message` string, required — serialized message
  - `signatures` VersionedTransactionSignature[], required — serialized signatures
    - `publicKey` string, required — serialized message
    - `signature` string, required — serialized signatures

## Other responses

- `400` — Invalid request
- `401` — Unauthorized
- `409` — Idempotency-Key reused with a different request body
- `500` — Internal server error

---

[API](https://skmtc.dev/loopscale/apis/loopscale-api.md) · [All operations](https://skmtc.dev/loopscale/apis/loopscale-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/loopscale/loopscale-api/revisions/531f64dbe09c/schema)
