Morpho Claim Rewards
Claim accumulated rewards from Morpho protocol using the Universal Rewards Distributor (URD). Only available on Ethereum and Base (URD not yet deployed on other chains). Automatically fetches Merkle proof from Morpho Rewards API. Ideal for: harvesting yields, automated reward collection, portfolio optimization, DeFi automation.
Catalog action EVM Onchain wallet Gas receive
Claim accumulated rewards from Morpho protocol using the Universal Rewards Distributor (URD). Only available on Ethereum and Base (URD not yet deployed on other chains). Automatically fetches Merkle proof from Morpho Rewards API. Ideal for: harvesting yields, automated reward collection, portfolio optimization, DeFi automation.
This action can require a wallet connector, gas, token movement, or an external side effect. Test with simulation or a controlled amount before using it in a live workflow.
At a Glance
| Field | Value |
|---|---|
| Action ID | morpho-claim-rewards |
| Category | EVM Onchain |
| Connector | wallet |
| Requires gas | Yes |
| Funds movement | receive |
| Tags | morpho, defi, rewards, claim, yield, harvest, write |
Payload Schema
| Field | Type | Required | Description |
|---|---|---|---|
rewardToken | string | Yes | The reward token address to claim |
chainId | number | Yes | Chain ID. Claim rewards only available on: Ethereum (1), Base (8453) |
gasLimit | string | No | Optional custom gas limit (as string) |
Result Schema
| Field | Type | Required | Description |
|---|---|---|---|
userAddress | string | Yes | The wallet address that claimed rewards |
urdAddress | string | Yes | Universal Rewards Distributor contract address |
rewardToken | string | Yes | Reward token contract address |
claimedAmount | string | Yes | Amount of rewards claimed (raw, smallest unit) |
formattedAmount | string | Yes | Human-readable claimed amount with decimals (e.g., '1.5' instead of '1500000') |
transactionHash | string | Yes | Transaction hash of the claim |
chainId | number | Yes | Chain ID where the claim was executed |
Examples
json{ "type": "morpho-claim-rewards", "payload": { "rewardToken": "ETH", "chainId": 1 }, "children": [], "connector": { "type": "wallet", "id": "conn_wallet" }}
bashcurl -X POST "https://api.b3os.org/v1/actions/morpho-claim-rewards/test" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "inputs": { "rewardToken": "ETH", "chainId": 1 }}'
Payload fields can use workflow expressions such as {{$trigger.body.amount}}, {{$nodes.fetch.result.price}}, and {{$props.asset}} when the value should come from a trigger, prior node, or reusable workflow prop.
