vault.claimYieldTo(ClaimYieldTo)
Claim yield from a vault’s reward distributor and send it to a specified address.
ClaimYieldTo Type Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| claimerSigner | Signer | Required | Signer that submits the claim. Must be connected to a provider. |
| vault | string | Required | Vault address. |
| to | string | Required | Recipient address for the claimed yield. |
Returns
| Field | Type | Description |
|---|---|---|
| status | claimed | Status of the operation. |
| vault | string | Vault address. |
| rewardDistributor | string | Reward distributor contract address. |
| claimer | string | Address that submitted the transaction. |
| recipient | string | Address that received the yield. |
| receipt | TransactionReceipt | Transaction receipt for the claim call. |

