name: rewards-claim title: Rocket Pool Rewards Claim description: >- Workflow for a node operator to enumerate outstanding rewards intervals and claim RPL and smoothing-pool ETH using Merkle proofs against published rewards trees. Uses the Smart Node rewards endpoints. api: rocket-pool:smart-node-daemon-api inputs: - name: restakeFraction type: number description: Optional fraction of claimed RPL to restake (0..1) steps: - id: status operation: getRewardsStatus description: Determine which rewards intervals are unclaimed - id: claim operation: claimAllRewards description: Submit the on-chain claim transaction with Merkle proofs input: intervals: "$.steps.status.intervalsToClaim" stakeAmount: "$.derived.restakeAmount"