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.
카탈로그 작업 EVM 온체인 지갑 가스 수령
Universal Rewards Distributor (URD)를 사용하여 Morpho 프로토콜에서 누적된 보상을 청구합니다. Ethereum과 Base에서만 사용 가능 (다른 체인에는 URD가 아직 배포되지 않음). Morpho Rewards API에서 Merkle proof를 자동으로 가져옵니다. 수익 수확, 자동 보상 수집, 포트폴리오 최적화, DeFi 자동화에 이상적입니다.
이 작업은 지갑 커넥터, 가스, 토큰 이동 또는 외부 부작용을 요구할 수 있습니다. 라이브 워크플로우에서 사용하기 전에 시뮬레이션 또는 제어된 양으로 테스트하십시오.
한눈에
| Field | Value |
|---|---|
| 작업 ID | morpho-claim-rewards |
| 카테고리 | EVM 온체인 |
| 커넥터 | wallet |
| 가스 필요 | 예 |
| 자금 이동 | receive |
| 태그 | morpho, defi, rewards, claim, yield, harvest, write |
페이로드 스키마
| Field | Type | Required | Description |
|---|---|---|---|
rewardToken | string | 예 | 청구할 보상 토큰 주소 |
chainId | number | 예 | 체인 ID. 보상 청구는 Ethereum (1), Base (8453)에서만 사용 가능 |
gasLimit | string | 아니오 | 선택적 사용자 지정 가스 한도 (문자열로) |
결과 스키마
| Field | Type | Required | Description |
|---|---|---|---|
userAddress | string | 예 | 보상을 청구한 지갑 주소 |
urdAddress | string | 예 | Universal Rewards Distributor 계약 주소 |
rewardToken | string | 예 | 보상 토큰 계약 주소 |
claimedAmount | string | 예 | 청구된 보상 금액 (원시, 최소 단위) |
formattedAmount | string | 예 | 소수점이 포함된 인간이 읽기 쉬운 청구 금액 (예: '1500000' 대신 '1.5') |
transactionHash | string | 예 | 청구 트랜잭션 해시 |
chainId | number | 예 | 청구가 실행된 체인 ID |
예제
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 }}'
페이로드 필드는 값이 트리거, 이전 노드 또는 재사용 가능한 워크플로우 속성에서 가져와야 하는 경우 {{$trigger.body.amount}}, {{$nodes.fetch.result.price}}, {{$props.asset}}와 같은 워크플로우 표현식을 사용할 수 있습니다.
