Claim MORPHO Rewards
Learn how to claim rewards accrued through Morpho
Careful: always double-check the addresses, API, and everything.
Do not hesitate to ask in the discord if you face any doubt.
Claim rewards accrued by using Morpho, off-chain through Etherscan, or with ethers.js. Here are concrete examples 👇
Etherscan
CLI
As explained in the tracking MORPHO reward section, one has to query the API and will have access to lots of different information:
https://api.morpho.xyz/rewards/<YOUR_0x_ADDRESS>
- 1.One should first fill the API and query it.APi response given a specific user.
- 2.Go on Etherscan using the address of the reward distributor (N°1), and go into the contract -> Write Contract section.
- 3.Then, fill in the _account, _claimable & _proof sections by following exactly whats indicated in the picture previously. - Little note on the _claimable (uint256): this section is supposed to be filled by the amount from args section from the API. - Little note on the proof: it is supposed to be written without the apostrophe: ", without space, with those brackets: [...].Overview of the reward distributor Write Contract section.
- 4.Write the transaction, and you are all good.
Last modified 1mo ago