Skip to main content

Claim Rewards

There are 2 ways to claim rewards:

  1. Via the Morpho interface
  2. At the smart contract level

On the Morpho interface

  1. Connect your wallet to the Morpho Interface

  2. Click on the Claim Rewards button

At the smart contract level

Specifying each inputs

  1. Query the following endpoint by replacing 0x_ADDRESS with the address that has supposedly earned rewards:

    And retrieve information 1, 2, 3, 4 and 5.

  2. Jump on the distributor address (on etherscan on basescan depending on the chainId), which is point 3

Important: When copying the inputs, including the proof, ensure you do not include any quotation marks (") at the beginning or end of any value. The proof itself is a continuous string of characters without any punctuation except the brackets ([ and ]) at the beginning and the end, and comma (,) as separator.

Specifying the raw data

This method allows you to claim rewards by directly sending the pre-formatted transaction data, without manually specifying each input.

  1. Query the endpoint as described in step 1 of the Specifying each inputs section.

  2. In the API response, locate the tx_data field (point 6 in the image above). This contains the pre-formatted transaction data.

  3. Send a transaction to the distributor address (point 3 in the image) using the tx_data as the transaction data:

    • If using MetaMask, Rabby, or similar wallets:
      a. Click "Send Transaction"
      b. In the "To" field, enter the distributor address
      c. In the "Hex Data" or "Data" field, paste the entire tx_data value
      d. Review and confirm the transaction

    Ensure you're connected to the correct network (Ethereum mainnet or Base) as indicated by the chainId in the API response.

    This method automatically includes all necessary inputs (amount, merkle proof, etc.) in the transaction data, simplifying the claim process.