# Merkl Rewards & Claiming

Many Morpho Blue lending markets and Morpho Vaults receive **external token incentives** funded by third-party protocols, token issuers, or curators and distributed via **Merkl**. Morfa tracks these campaigns transparently and lets you claim eligible Ethereum rewards directly on-chain.

:::warning[Incentives Are Not Native Interest]
Merkl rewards are **external third-party token campaigns**, separate from borrower-paid USDC interest. Campaign budgets, eligible tokens, and APR rates are controlled by external campaign creators and can change, pause, or end at any time without notice.
:::

## How Merkl Incentives Reach Morfa Users

* **Mode B (`Morfa Vault / mfUSDC`):** Curated Morpho Blue markets that receive Merkl campaigns forward incentives to vault depositors through Merkl's **reward forwarding** and subcampaign mechanics based on each depositor's time-weighted `mfUSDC` share balance. Note that Merkl enforces a minimum hourly reward-forwarding threshold at the subcampaign level; very small residual reward streams below Merkl's distribution threshold may not forward until accumulated or may not generate a subcampaign.
* **Mode A (`Direct Wallet`):** Because your `supplyShares` sit directly on your own wallet inside Morpho Blue, Merkl attributes market supply incentives directly to your wallet address.

## Understanding Your Reward States

The **Merkl Rewards** panel on [`morfa.finance/portfolio`](https://morfa.finance/portfolio) stays visible **even when your active USDC balance is `0`**, because withdrawing USDC never automatically claims Merkl rewards.

For every Ethereum reward token associated with your address, Morfa separates three distinct figures:

| Metric | Meaning |
| --- | --- |
| **Claimable Now** | Cumulative finalized amount included in the latest published on-chain Merkle root, minus what your wallet has already claimed: `max(0, amount - claimed)`. Ready to claim on-chain right now. |
| **Pending (Not in Root)** | Rewards accrued since the last Merkle root update, awaiting Merkl's next periodic root publication on Ethereum Mainnet. Not yet claimable on-chain. |
| **Earned to Date** | Cumulative finalized amount plus pending rewards (`amount + pending`). |

## Supported vs. Excluded Reward Types

Not every reward entry returned by Merkl uses the same on-chain distribution mechanism. Morfa explicitly displays the **Claim Status** for each token and filters claims safely:

* **`Ready (TREE)`:** Standard Merkle-tree reward tokens with valid proofs and recipient matching your connected wallet. Eligible for direct one-click claiming inside Morfa.
* **Excluded entries (explicitly labeled):**
  * **`LEDGER` rewards:** Non-Merkle-tree distributions not claimable through the standard `Distributor.claim` proof interface.
  * **Wrapper / underlying-token entries** (tokens carrying an `underlyingTokenId` wrapper structure that require specialized unwrapping outside the standard claim call).
  * **Incomplete proofs or recipient mismatch:** Entries missing Merkle proofs or addressed to a different recipient.

If you hold an excluded reward type, you can always inspect and claim it directly on [`app.merkl.xyz`](https://app.merkl.xyz/).

## How Claiming Works On-Chain

When you click **Claim** in Morfa:

1. **Contract & simulation verification:** Morfa verifies that the Ethereum **Merkl Distributor** (`0x3Ef3D8bA38EBe18DB133cEc108f4D14CE00Dd9Ae`) has valid deployed bytecode and executes a pre-flight `simulateContract` check before prompting your wallet.
2. **Cumulative proof submission:** Merfa calls `Distributor.claim(users, tokens, amounts, proofs)` passing the **full cumulative `amount`** from Merkl and the unmodified Merkle `proofs`. The Distributor contract automatically calculates `amount - alreadyClaimed` on-chain and transfers only the unclaimed delta to your wallet.
3. **Cache-bypassing refresh:** After your transaction confirms, Morfa re-queries Merkl with a chain-level cache reload (`reloadChainId=1`) so your updated claimed status reflects promptly.

:::info[Chain-Wide Claim Scope]
Merkl aggregates rewards **per token across Ethereum Mainnet**. Calling `Distributor.claim` for a given reward token claims your cumulative unclaimed balance for that token across **all** Ethereum Merkl campaigns tied to your address, not solely campaigns earned through Morfa.
:::

## Gas Timing Tips

Because claiming requires an Ethereum Mainnet transaction paid in ETH gas, you do not need to claim after every small accrual. Cumulative Merkl rewards do not expire between regular Merkle root updates, so you can let rewards accumulate until the token value comfortably exceeds Ethereum gas costs, or claim independently anytime via [`app.merkl.xyz`](https://app.merkl.xyz/).
