Commit 1fbb590f authored by Guy Thouret's avatar Guy Thouret

(feat) Add reward factors to v1/blockchain/contributions API endpoint - Fixes #810

1 merge request!285Reward Factors for User Activity
Pipeline #82550305 failed with stages
in 4 minutes and 22 seconds
......@@ -42,7 +42,8 @@ class overview implements Interfaces\Api
'totalNetworkContribution' => $overview->getTotalNetworkContribution(),
'yourShare' => $overview->getYourShare(),
'yourRewardFactor' => $overview->getYourRewardFactor(),
'contributionValues' => $contributionValues
'contributionValues' => $contributionValues,
'rewardFactors' => RewardFactor::$values
];
return Factory::response($response);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment